[PATCH v2 4/4] x86: mrccache: Allow use before driver model is active

Bin Meng bmeng.cn at gmail.com
Thu May 28 09:36:17 CEST 2020


On Wed, May 27, 2020 at 8:58 PM Simon Glass <sjg at 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 at 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 at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com> (on Intel minnowmax)


More information about the U-Boot mailing list