[U-Boot] [PATCH v2 10/38] spl: Set up the bloblist in board_init_r()

Bin Meng bmeng.cn at gmail.com
Thu Oct 3 07:38:30 UTC 2019


On Wed, Oct 2, 2019 at 9:58 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Wed, Sep 25, 2019 at 10:12 PM Simon Glass <sjg at chromium.org> wrote:
> >
> > At present the bloblist is set up in spl_common_init() which can be called
> > from spl_early_init(), i.e. before SDRAM is ready. This prevents the
> > bloblist from being located in SDRAM, which is useful on some platforms
> > where SRAM is inaccessible after U-Boot relocates (e.g. x86 CAR region).
> >
> > It doesn't serve much purpose to have the bloblist available early, since
> > very little is known about the platform then, and the handoff info is
> > written when SPL is about to jump to U-Boot.
> >
> > Move the code to board_init_r() to avoid any restrictions.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > Changes in v2: None
> >
> >  common/spl/spl.c | 35 ++++++++++++++++++-----------------
> >  1 file changed, 18 insertions(+), 17 deletions(-)
> >
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list