[U-Boot] [PATCH 0/3] support enter download mode on rockchip platform
Andy Yan
andy.yan at rock-chips.com
Tue Sep 12 13:55:49 UTC 2017
Most rockchip platform based boards use a key to instruct
the board enter download firmware mode, some boards use a
adc to detect the key status, and some use a gpio.
This series try to implement all the download mode releated
functions.
Andy Yan (3):
rockchip: make boot_mode releated codes reused across all platforms
rockchip: add support for backing to bootrom download mode
rockchip: check download key before bootup
arch/arm/include/asm/arch-rockchip/boot_mode.h | 6 +++
arch/arm/include/asm/arch-rockchip/bootrom.h | 2 +-
arch/arm/mach-rockchip/Kconfig | 15 +++++++
arch/arm/mach-rockchip/Makefile | 5 ++-
arch/arm/mach-rockchip/boot_mode.c | 58 ++++++++++++++++++++++++++
arch/arm/mach-rockchip/bootrom.c | 2 +-
arch/arm/mach-rockchip/rk3036-board.c | 24 -----------
arch/arm/mach-rockchip/rk322x-board.c | 24 -----------
arch/arm/mach-rockchip/rk3288-board.c | 25 -----------
arch/arm/mach-rockchip/rk3399-board.c | 14 +++++++
arch/arm/mach-rockchip/save_boot_param.S | 56 +++++++++++++++++++++----
board/rockchip/evb_rk3399/evb-rk3399.c | 28 +++++++++++++
12 files changed, 174 insertions(+), 85 deletions(-)
create mode 100644 arch/arm/mach-rockchip/boot_mode.c
create mode 100644 arch/arm/mach-rockchip/rk3399-board.c
--
2.7.4
More information about the U-Boot
mailing list