mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 22:52:18 +00:00
80e9f88e67
It is often desirable to configure the spl-boot-order (i.e. the order that SPL probes devices to find the FIT image containing a full U-Boot) such that it contains 'the same device the SPL stage was booted from' early on. To support this, we introduce the 'same-as-spl' specifier for the spl-boot-order property. This commit adds: - documentation for the new board_spl_was_booted_from() function that individual SoCs/boards should provide, if they can determine where the SPL was booted from - implements the new board_spl_was_booted_from() stub function - adds support for handling the 'same-as-spl' specifier and calling into the per-SoC/per-board support code. This also updates the documentation for the 'u-boot,spl-boot-order' property. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
rk322x | ||
rk3036 | ||
rk3188 | ||
rk3288 | ||
rk3328 | ||
rk3368 | ||
rk3399 | ||
rv1108 | ||
bootrom.c | ||
Kconfig | ||
Makefile | ||
rk322x-board-spl.c | ||
rk322x-board.c | ||
rk3036-board-spl.c | ||
rk3036-board.c | ||
rk3188-board-spl.c | ||
rk3188-board-tpl.c | ||
rk3188-board.c | ||
rk3288-board-spl.c | ||
rk3288-board-tpl.c | ||
rk3288-board.c | ||
rk3368-board-spl.c | ||
rk3368-board-tpl.c | ||
rk3399-board-spl.c | ||
rk_timer.c | ||
save_boot_param.S | ||
sdram_common.c | ||
spl-boot-order.c |