[PATCH v2 4/4] x86: mrccache: Allow use before driver model is active
bmeng.cn at gmail.com
Thu May 28 09:45:02 CEST 2020
On Thu, May 28, 2020 at 3:36 PM Bin Meng <bmeng.cn at gmail.com> wrote:
> 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)
applied to u-boot-x86, thanks!
More information about the U-Boot