Skip to content
Snippets Groups Projects
Commit b4d23f76 authored by Andy Yan's avatar Andy Yan Committed by Philipp Tomsich
Browse files

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: default avatarAndy Yan <andy.yan@rock-chips.com>
Reviewed-by: Kever Yang's avatarKever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich's avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich's avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
parent e3067793
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment