[U-Boot] [PATCH v2 00/10] rockchip: enable board_debug_uart_init for all soc

Kever Yang kever.yang at rock-chips.com
Fri Mar 29 01:08:57 UTC 2019


ALl rockchip soc use DEBUG UART, and need init the uart iomux
in board_debug_uart_init().
Move the board_debug_uart_init() into soc file so that we can
make all soc config in soc file and share a common board file
later for all rockchip SoCs.

Verison 2 rebase on master with 'SYS_SOC name correction' patch set.
This patchset has been test on:
rk3036, rk3188, rk3229, rk3288, rk3328, rk3368, rk3399, rv1108



Kever Yang (10):
  rockchip: enable DEBUG_UART_BOARD_INIT by default
  rockchip; kylin-rk3036: enabl DEBUG UART
  rockchip: rk3036: add board_debug_uart_init()
  rockchip: rk3188: add board_debug_uart_init()
  rockchip: rk322x: move board_debug_uart_init() to rk322x.c
  rockchip: rk3288: use grf structure to access soc_con2
  rockchip: rk3288: add board_debug_uart_init()
  rockchip: rk3368: move board_debug_uart_init() to rk3368.c
  rockchip: rk3399: use grf structure to access reg
  rockchip: rk3399: add board_debug_uart_init()

 arch/arm/Kconfig                          |  1 +
 arch/arm/mach-rockchip/Kconfig            |  4 --
 arch/arm/mach-rockchip/rk3036-board-spl.c | 20 +--------
 arch/arm/mach-rockchip/rk3036/Makefile    |  1 +
 arch/arm/mach-rockchip/rk3036/rk3036.c    | 39 ++++++++++++++++
 arch/arm/mach-rockchip/rk3188-board-spl.c | 28 +-----------
 arch/arm/mach-rockchip/rk3188/Makefile    |  1 +
 arch/arm/mach-rockchip/rk3188/rk3188.c    | 36 +++++++++++++++
 arch/arm/mach-rockchip/rk322x-board-spl.c | 44 +-----------------
 arch/arm/mach-rockchip/rk322x-board.c     | 30 +------------
 arch/arm/mach-rockchip/rk322x/Makefile    |  2 +-
 arch/arm/mach-rockchip/rk322x/rk322x.c    | 44 ++++++++++++++++++
 arch/arm/mach-rockchip/rk3288-board-spl.c | 12 +----
 arch/arm/mach-rockchip/rk3288-board-tpl.c | 16 +------
 arch/arm/mach-rockchip/rk3288/rk3288.c    | 19 +++++++-
 arch/arm/mach-rockchip/rk3368-board-spl.c |  8 ----
 arch/arm/mach-rockchip/rk3368-board-tpl.c | 33 +-------------
 arch/arm/mach-rockchip/rk3368/rk3368.c    | 31 +++++++++++++
 arch/arm/mach-rockchip/rk3399-board-spl.c | 50 +--------------------
 arch/arm/mach-rockchip/rk3399/rk3399.c    | 55 ++++++++++++++++++++++-
 configs/kylin-rk3036_defconfig            |  4 ++
 21 files changed, 240 insertions(+), 238 deletions(-)
 create mode 100644 arch/arm/mach-rockchip/rk3036/rk3036.c
 create mode 100644 arch/arm/mach-rockchip/rk3188/rk3188.c
 create mode 100644 arch/arm/mach-rockchip/rk322x/rk322x.c

-- 
2.20.1



More information about the U-Boot mailing list