[U-Boot] [PATCH 0/7] rockchip: migrate to use common TPL board file

Kever Yang kever.yang at rock-chips.com
Tue Jul 9 14:05:54 UTC 2019


Rockchip SoCs have very similar boot process, we can use TPL
for all SoCs and all these SoCs can share the same board file.
Migrate to use common board file to avoid unneccessary copy-paste
for different SoCs.



Kever Yang (7):
  rockchip: add common tpl board file
  rockchip: rk322x: use common TPL board file
  rockchip: rk3288: use common SPL board file
  rockchip: rk3368: use common TPL board file
  rockchip: rk3399: use common secure_timer_init() for spl/tpl
  rockchip: rk3399: remove TPL_BOARD_INIT
  rockchip: rk3399: use common TPL board file

 arch/arm/mach-rockchip/Kconfig                | 14 ++-
 arch/arm/mach-rockchip/Makefile               |  6 +-
 arch/arm/mach-rockchip/rk3288-board-tpl.c     | 89 ------------------
 arch/arm/mach-rockchip/rk3368-board-tpl.c     | 74 ---------------
 arch/arm/mach-rockchip/rk3399-board-spl.c     | 19 +---
 arch/arm/mach-rockchip/rk3399-board-tpl.c     | 91 -------------------
 arch/arm/mach-rockchip/rk3399/rk3399.c        | 29 ++++++
 .../{rk322x-board-tpl.c => tpl.c}             | 28 +++---
 include/configs/rk3399_common.h               |  1 +
 9 files changed, 62 insertions(+), 289 deletions(-)
 delete mode 100644 arch/arm/mach-rockchip/rk3288-board-tpl.c
 delete mode 100644 arch/arm/mach-rockchip/rk3368-board-tpl.c
 delete mode 100644 arch/arm/mach-rockchip/rk3399-board-tpl.c
 rename arch/arm/mach-rockchip/{rk322x-board-tpl.c => tpl.c} (82%)

-- 
2.17.1



More information about the U-Boot mailing list