diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-06-22 21:38:36 (GMT) |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-08-13 15:12:19 (GMT) |
commit | 225d30b70846eb534bc6b607d67c959ab05beaa5 (patch) | |
tree | 8243d035fee681f9e390f4e0059c70402d92f4da /arch | |
parent | da0227f7d2568c0cb0e435ed3caf780f9846d9a0 (diff) | |
download | u-boot-225d30b70846eb534bc6b607d67c959ab05beaa5.tar.xz |
spl: add a 'return to bootrom' boot method
Some devices (e.g. the RK3368) have only limited SRAM, but provide
support for loading the next boot stage after our SPL performs basic
setup (e.g. DRAM).
For target systems like these, we add a boot device BOOTROM that will
invoke a board-specific hook to return to the bootrom (if supported).
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/spl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/spl.h b/arch/arm/include/asm/spl.h index 0e67470..df45511 100644 --- a/arch/arm/include/asm/spl.h +++ b/arch/arm/include/asm/spl.h @@ -30,6 +30,7 @@ enum { BOOT_DEVICE_BOARD, BOOT_DEVICE_DFU, BOOT_DEVICE_XIP, + BOOT_DEVICE_BOOTROM, BOOT_DEVICE_NONE }; #endif |