
On Wed, May 27, 2020 at 8:58 PM Simon Glass sjg@chromium.org wrote:
The change to avoid searching the device tree does not work on boards wich don't have driver model set up this early, for example minnowmax. Put back the old code (converted to livetree) as a fallback for these devices. Also update the documentation.
This is tested on minnowmax, link, samus and coral.
Fixes: 87f1084a630 (x86: Adjust mrccache_get_region() to use livetree) Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2:
- Add new patch to allow use before driver model is active
arch/x86/include/asm/mrccache.h | 15 ++++---------- arch/x86/lib/mrccache.c | 35 +++++++++++++++++++++++---------- 2 files changed, 29 insertions(+), 21 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com Tested-by: Bin Meng bmeng.cn@gmail.com (on Intel minnowmax)