]> Git Repo - J-u-boot.git/commit
rockchip: add support for enter to bootrom download mode
authorAndy Yan <[email protected]>
Wed, 11 Oct 2017 07:00:49 +0000 (15:00 +0800)
committerPhilipp Tomsich <[email protected]>
Tue, 21 Nov 2017 22:57:23 +0000 (23:57 +0100)
commitb4d23f76430768c5eef0cc7f3d7fd2e0a420a3e0
tree2d7e8ca16357be0841c67ec290bce002764426ab
parente3067793c3109744a445f692395b9a3bac778e48
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 <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Acked-by: Philipp Tomsich <[email protected]>
Reviewed-by: Philipp Tomsich <[email protected]>
arch/arm/include/asm/arch-rockchip/boot_mode.h
arch/arm/mach-rockchip/Kconfig
arch/arm/mach-rockchip/bootrom.c
This page took 0.033817 seconds and 4 git commands to generate.