diff options
author | Simon Glass <sjg@chromium.org> | 2019-09-25 08:11:19 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2019-10-08 13:51:03 +0800 |
commit | 3cd71981531a767e5109368fede61931944bdb5c (patch) | |
tree | dd341589e1a67d802c984a9709e6c4f430dc094c /scripts | |
parent | 366291afe63fb4973161e01c29c43bc840a710a5 (diff) |
spl: Set up the bloblist in board_init_r()
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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions