diff options
author | Pali Rohár <pali@kernel.org> | 2021-07-23 11:14:26 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-07-31 09:49:32 +0200 |
commit | abbf2179b251493b09c08d90e46ca0de950b3410 (patch) | |
tree | bb9c1ac19d9bb06d883c892068f636a3a8647595 /common/spl/spl_spi.c | |
parent | 9d0225b7fa1571ebe62f7c59ae140fd8df77a34d (diff) | |
download | u-boot-abbf2179b251493b09c08d90e46ca0de950b3410.zip u-boot-abbf2179b251493b09c08d90e46ca0de950b3410.tar.gz u-boot-abbf2179b251493b09c08d90e46ca0de950b3410.tar.bz2 |
arm: mvebu: Use U-Boot's SPL BootROM framework for booting from NAND/UART
Current code uses hack in board_init_f() which calls return_to_bootrom()
to skip U-Boot SPL code and return back to BootROM to load U-Boot via
UART or from NAND.
This change migrates that hack from the board_init_f() function and
changes it to return BOOT_DEVICE_BOOTROM instead of returning to BootROM
directly, so that U-Boot's SPL framework is used for returning to
BootROM.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Tested-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'common/spl/spl_spi.c')
0 files changed, 0 insertions, 0 deletions