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 /include/faraday/ftsdmc020.h | |
parent | e3067793c3109744a445f692395b9a3bac778e48 (diff) |
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 'include/faraday/ftsdmc020.h')
0 files changed, 0 insertions, 0 deletions