spl: add a 'return to bootrom' boot method
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 22 Jun 2017 21:38:36 +0000 (23:38 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:19 +0000 (17:12 +0200)
commit225d30b70846eb534bc6b607d67c959ab05beaa5
tree8243d035fee681f9e390f4e0059c70402d92f4da
parentda0227f7d2568c0cb0e435ed3caf780f9846d9a0
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>
arch/arm/include/asm/spl.h
common/spl/Kconfig
common/spl/Makefile
common/spl/spl_bootrom.c [new file with mode: 0644]
include/spl.h