u-boot-brain/arch/arm/mach-rockchip
Philipp Tomsich 80e9f88e67 rockchip: spl: support a 'same-as-spl'-specifier in the spl-boot-order
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>
2017-10-01 00:33:34 +02:00
..
rk322x rockchip: rk322x: add basic soc support 2017-07-11 12:13:46 +02:00
rk3036 rockchip: rk3036: sync os_reg2 define with other soc 2017-07-11 12:13:48 +02:00
rk3188 rockchip: rk3188: move sdram driver to driver/ram 2017-10-01 00:33:31 +02:00
rk3288 rk3288: vyasa: Add TPL support 2017-10-01 00:33:33 +02:00
rk3328 rockchip: rk3328: move sdram driver to driver/ram 2017-10-01 00:33:31 +02:00
rk3368 rockchip: rk3368: spl: move SPL_LDSCRIPT to Kconfig 2017-08-13 17:15:08 +02:00
rk3399 rockchip: rk3399: move sdram driver to driver/ram 2017-10-01 00:33:31 +02:00
rv1108 rockchip: Add basic support for evb-rv1108 board 2017-06-07 07:29:25 -06:00
bootrom.c rockchip: back-to-bootrom: simplify the #ifdef-check for LIBCOMMON in TPL/SPL 2017-08-13 17:12:19 +02:00
Kconfig moveconfig: migrate TPL_STACK, TPL_TEXT_BASE and TPL_MAX_SIZE 2017-08-13 17:12:35 +02:00
Makefile rk3288: vyasa: Add TPL support 2017-10-01 00:33:33 +02:00
rk322x-board-spl.c rockchip: rk322x: set the DDR region as non-secure in SPL 2017-08-13 17:15:08 +02:00
rk322x-board.c rockchip: rk322x: update the sysreg number for boot mode 2017-10-01 00:33:34 +02:00
rk3036-board-spl.c rockchip: enable SPL_LIBGENERIC for rk3036 based boards 2017-07-27 14:59:04 +02:00
rk3036-board.c env: Rename setenv() to env_set() 2017-08-16 08:22:18 -04:00
rk3188-board-spl.c rockchip: back-to-bootrom: split BACK_TO_BOOTROM for TPL/SPL 2017-08-13 17:12:19 +02:00
rk3188-board-tpl.c rockchip: rk3188: Cleanup some SPL/TPL rename leftovers 2017-04-04 20:01:57 -06:00
rk3188-board.c rockchip: back-to-bootrom: split BACK_TO_BOOTROM for TPL/SPL 2017-08-13 17:12:19 +02:00
rk3288-board-spl.c rk3288: vyasa: Add TPL support 2017-10-01 00:33:33 +02:00
rk3288-board-tpl.c rk3288: vyasa: Add TPL support 2017-10-01 00:33:33 +02:00
rk3288-board.c rockchip: rk3288: Add reset reason detection 2017-09-05 11:04:35 +02:00
rk3368-board-spl.c rockchip: rk3368: remove setup of secure timer from TPL/SPL 2017-08-13 17:12:36 +02:00
rk3368-board-tpl.c rockchip: rk3368: remove setup of secure timer from TPL/SPL 2017-08-13 17:12:36 +02:00
rk3399-board-spl.c rockchip: rk3399: make spl_board_init board-specific 2017-10-01 00:33:34 +02:00
rk_timer.c rockchip: timer: make register sizes explicit 2017-07-27 14:59:00 +02:00
save_boot_param.S rockchip: back-to-bootrom: add 'back-to-bootrom' support for AArch64 2017-08-13 17:12:19 +02:00
sdram_common.c rockchip: add sdram_common for common functions 2017-07-11 12:13:44 +02:00
spl-boot-order.c rockchip: spl: support a 'same-as-spl'-specifier in the spl-boot-order 2017-10-01 00:33:34 +02:00