[U-Boot] [PATCH 00/35] rockchip: Migrate to use common SPL board file

Kever Yang kever.yang at rock-chips.com
Mon Jul 22 11:59:07 UTC 2019


Rockchip SoCs have similar boot process, we can re-use
the same SPL board file for all SoCs, and avoid too much
copy-paste overhead.



Kever Yang (35):
  rockchip: remove redundant CONFIG_SYS_NS16550_MEM32
  rockchip: add CONFIG_IRAM_BASE for all SoCs
  rockchip: intruduce common BROM_BOOTSOURCE_ID_ADDR
  rockchip: declear boot_devices in bootrom.h
  rockchip: add common spl board file
  rockchip: rk3188: init CPU freq in clock driver
  rockchip: rk3188: move usb uart init into arch_cpu_init()
  rockchip: Migrate to use BOOTROM_SUPPORT driver
  rockchip: rk3188: move spl_board_init() into rk3188.c
  rockchip: rk3188: add boot_devices mapping to support 'same-as-spl'
  rockchip: rk3188: migrate to use common spl board file
  rockchip: rk322x: introduce arch_cpu_init() for SoC setting init
  rockchip: rk322x: migrate to use common spl board file
  rockchip: rk322x: add boot_devices mapping to support 'same-as-spl'
  rockchip: fit_spl_optee: rockchip: fix warning unit_address_vs_reg
  rockchip: rk3288: show SPL BANNER earlier in board_init_f()
  rockchip: rk3288: move setup_led() to firefly-rk3288
  rockchip: rk3288-phycore: move phycore_init() to its own board file
  rockchip: rk3288: move dram_init_banksize() into soc file
  rockchip: rk3288: Migrate to use common spl board file
  rockchip: phycore: remove no use "u-boot,boot0" in dts
  rockchip: rk3288-veyron: Migrate "u-boot,boot0" to
    "u-boot,spl-boot-order"
  rockchip: rk3288: add boot_devices mapping to support 'same-as-spl'
  rockchip: rk3328: add STIMER_BASE definition
  rockchip: rk3328: migrate to use common spl board file
  rockchip: rk3328: add boot_devices mapping to support 'same-as-spl'
  rockchip: rk3368: migrate to use common spl board file
  rockchip: rk3368: add boot_devices mapping to support 'same-as-spl'
  rockchip: rk3399: move spl_perform_fixups() into soc file
  rockchip: rk3399: show SPL BANNER earlier in board_init_f()
  rockchip: rk3399: move SoC setting into arch_cpu_init()
  rockchip: rk3399; move spl_board_init() into soc file
  rockchip: rk3399: move boot_devices into soc file
  rockchip: rk3399: move chromebook bob specific flow to its board file
  rockchip: rk3399: Migrate to use common spl board file

 arch/arm/dts/rk3288-phycore-rdk.dts           |   5 -
 arch/arm/dts/rk3288-veyron.dtsi               |   6 +-
 arch/arm/include/asm/arch-rockchip/bootrom.h  |   4 +-
 .../arm/include/asm/arch-rockchip/sys_proto.h |   4 -
 arch/arm/mach-rockchip/Kconfig                |  24 +-
 arch/arm/mach-rockchip/Makefile               |   7 +-
 arch/arm/mach-rockchip/fit_spl_optee.its      |  16 +-
 arch/arm/mach-rockchip/rk3188-board-spl.c     | 193 --------------
 arch/arm/mach-rockchip/rk3188/rk3188.c        |  70 ++++-
 arch/arm/mach-rockchip/rk322x-board-spl.c     |  76 ------
 arch/arm/mach-rockchip/rk322x/rk322x.c        |  18 ++
 arch/arm/mach-rockchip/rk3288-board-spl.c     | 249 -----------------
 arch/arm/mach-rockchip/rk3288/Kconfig         |   2 +
 arch/arm/mach-rockchip/rk3288/rk3288.c        |  21 ++
 arch/arm/mach-rockchip/rk3328-board-spl.c     |  58 ----
 arch/arm/mach-rockchip/rk3328/rk3328.c        |   6 +
 arch/arm/mach-rockchip/rk3368-board-spl.c     |  80 ------
 arch/arm/mach-rockchip/rk3368/rk3368.c        |   6 +
 arch/arm/mach-rockchip/rk3399-board-spl.c     | 251 ------------------
 arch/arm/mach-rockchip/rk3399/rk3399.c        | 144 +++++++++-
 arch/arm/mach-rockchip/spl.c                  | 154 +++++++++++
 board/firefly/firefly-rk3288/firefly-rk3288.c |  36 +++
 board/google/gru/gru.c                        |  21 ++
 board/phytec/phycore_rk3288/phycore-rk3288.c  |  47 ++++
 drivers/clk/rockchip/clk_rk3188.c             |   3 +
 include/configs/rk3128_common.h               |   2 +
 include/configs/rk3188_common.h               |   3 +-
 include/configs/rk322x_common.h               |   1 +
 include/configs/rk3288_common.h               |   2 +
 include/configs/rk3328_common.h               |   6 +-
 include/configs/rk3368_common.h               |   2 +-
 include/configs/rk3399_common.h               |   2 +-
 include/configs/rv1108_common.h               |   2 +
 33 files changed, 568 insertions(+), 953 deletions(-)
 delete mode 100644 arch/arm/mach-rockchip/rk3188-board-spl.c
 delete mode 100644 arch/arm/mach-rockchip/rk322x-board-spl.c
 delete mode 100644 arch/arm/mach-rockchip/rk3288-board-spl.c
 delete mode 100644 arch/arm/mach-rockchip/rk3328-board-spl.c
 delete mode 100644 arch/arm/mach-rockchip/rk3368-board-spl.c
 delete mode 100644 arch/arm/mach-rockchip/rk3399-board-spl.c
 create mode 100644 arch/arm/mach-rockchip/spl.c

-- 
2.17.1



More information about the U-Boot mailing list