diff options
author | Andy Yan <andy.yan@rock-chips.com> | 2017-10-11 15:00:49 +0800 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-11-21 23:57:23 +0100 |
commit | b4d23f76430768c5eef0cc7f3d7fd2e0a420a3e0 (patch) | |
tree | 2d7e8ca16357be0841c67ec290bce002764426ab /arch/arm/mach-rockchip/Kconfig | |
parent | e3067793c3109744a445f692395b9a3bac778e48 (diff) | |
download | u-boot-b4d23f76430768c5eef0cc7f3d7fd2e0a420a3e0.zip u-boot-b4d23f76430768c5eef0cc7f3d7fd2e0a420a3e0.tar.gz u-boot-b4d23f76430768c5eef0cc7f3d7fd2e0a420a3e0.tar.bz2 |
rockchip: add support for enter to bootrom download mode
Rockchip bootrom will enter download mode if it returns from
spl/tpl with a non-zero value and couldn't find a valid image
in the backup partition.
This patch provide a method to instruct the system to back to
bootrom download mode by checking the BROM_DOWNLOAD_FLAG register.
As the bootrom download function relys on some modules such as
interrupts, so we need to back to bootrom as early as possbile
before the tpl/spl code override the interrupt configurations.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'arch/arm/mach-rockchip/Kconfig')
-rw-r--r-- | arch/arm/mach-rockchip/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 6144057..a26736a 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch/arm/mach-rockchip/Kconfig @@ -118,6 +118,7 @@ config ROCKCHIP_RK3399 select SPL_DRIVERS_MISC_SUPPORT select DEBUG_UART_BOARD_INIT select BOARD_LATE_INIT + select ROCKCHIP_BROM_HELPER help The Rockchip RK3399 is a ARM-based SoC with a dual-core Cortex-A72 and quad-core Cortex-A53. |