[U-Boot] [PATCH v2 0/3] rockchip: correct SYS_SOC name for all rockchip SoCs

Kever Yang kever.yang at rock-chips.com
Tue Apr 2 02:09:41 UTC 2019


Rockchip use 'arch-rockchip' instead of arch-$(SOC) as common
header file path, so that we do not need to make folder for
each soc, because many header file are shared for all the SoCs
which not need separate for each SoC.

With the SoC name correct to its own name, the build system
can include the $(SOC)-u-boot.dtsi automatically.

Version 2 does not touch the armv8/start.S and lib/vector.S,
but add boot0.h for each SoC.



Kever Yang (3):
  rockchip: add common header boot0.h and gpio.h for soc
  rockchip: use 'arch-rockchip' as header file path
  rockchip: correct ARCH_SOC name

 arch/arm/include/asm/arch-rk3036/boot0.h      | 11 ++++++++++
 arch/arm/include/asm/arch-rk3036/gpio.h       | 11 ++++++++++
 arch/arm/include/asm/arch-rk3128/boot0.h      | 11 ++++++++++
 arch/arm/include/asm/arch-rk3128/gpio.h       | 11 ++++++++++
 arch/arm/include/asm/arch-rk3188/boot0.h      | 11 ++++++++++
 arch/arm/include/asm/arch-rk3188/gpio.h       | 11 ++++++++++
 arch/arm/include/asm/arch-rk322x/boot0.h      | 11 ++++++++++
 arch/arm/include/asm/arch-rk322x/gpio.h       | 11 ++++++++++
 arch/arm/include/asm/arch-rk3288/boot0.h      | 11 ++++++++++
 arch/arm/include/asm/arch-rk3288/gpio.h       | 11 ++++++++++
 arch/arm/include/asm/arch-rk3328/boot0.h      | 11 ++++++++++
 arch/arm/include/asm/arch-rk3328/gpio.h       | 11 ++++++++++
 arch/arm/include/asm/arch-rk3368/boot0.h      | 11 ++++++++++
 arch/arm/include/asm/arch-rk3368/gpio.h       | 11 ++++++++++
 arch/arm/include/asm/arch-rk3399/boot0.h      | 11 ++++++++++
 arch/arm/include/asm/arch-rk3399/gpio.h       | 11 ++++++++++
 .../include/asm/arch-rockchip/ddr_rk3188.h    |  2 +-
 arch/arm/include/asm/arch-rv1108/boot0.h      | 11 ++++++++++
 arch/arm/include/asm/arch-rv1108/gpio.h       | 11 ++++++++++
 arch/arm/mach-rockchip/Kconfig                |  2 +-
 arch/arm/mach-rockchip/boot_mode.c            |  2 +-
 arch/arm/mach-rockchip/bootrom.c              |  4 ++--
 arch/arm/mach-rockchip/rk3036-board-spl.c     | 12 +++++------
 arch/arm/mach-rockchip/rk3036-board.c         | 10 +++++-----
 arch/arm/mach-rockchip/rk3036/Kconfig         |  2 +-
 arch/arm/mach-rockchip/rk3036/clk_rk3036.c    |  4 ++--
 arch/arm/mach-rockchip/rk3036/sdram_rk3036.c  | 12 +++++------
 arch/arm/mach-rockchip/rk3036/syscon_rk3036.c |  2 +-
 arch/arm/mach-rockchip/rk3128-board.c         | 10 +++++-----
 arch/arm/mach-rockchip/rk3128/Kconfig         |  2 +-
 arch/arm/mach-rockchip/rk3128/clk_rk3128.c    |  4 ++--
 arch/arm/mach-rockchip/rk3128/syscon_rk3128.c |  2 +-
 arch/arm/mach-rockchip/rk3188-board-spl.c     | 16 +++++++--------
 arch/arm/mach-rockchip/rk3188-board.c         | 10 +++++-----
 arch/arm/mach-rockchip/rk3188/Kconfig         |  2 +-
 arch/arm/mach-rockchip/rk3188/clk_rk3188.c    |  4 ++--
 arch/arm/mach-rockchip/rk3188/syscon_rk3188.c |  2 +-
 arch/arm/mach-rockchip/rk322x-board-spl.c     | 12 +++++------
 arch/arm/mach-rockchip/rk322x-board.c         | 10 +++++-----
 arch/arm/mach-rockchip/rk322x/Kconfig         |  2 +-
 arch/arm/mach-rockchip/rk322x/clk_rk322x.c    |  4 ++--
 arch/arm/mach-rockchip/rk322x/syscon_rk322x.c |  2 +-
 arch/arm/mach-rockchip/rk3288-board-spl.c     | 20 +++++++++----------
 arch/arm/mach-rockchip/rk3288-board-tpl.c     | 14 ++++++-------
 arch/arm/mach-rockchip/rk3288-board.c         | 12 +++++------
 arch/arm/mach-rockchip/rk3288/Kconfig         |  2 +-
 arch/arm/mach-rockchip/rk3288/clk_rk3288.c    |  4 ++--
 arch/arm/mach-rockchip/rk3288/rk3288.c        |  2 +-
 arch/arm/mach-rockchip/rk3288/syscon_rk3288.c |  2 +-
 arch/arm/mach-rockchip/rk3328/Kconfig         |  2 +-
 arch/arm/mach-rockchip/rk3328/clk_rk3328.c    |  4 ++--
 arch/arm/mach-rockchip/rk3328/rk3328.c        |  2 +-
 arch/arm/mach-rockchip/rk3328/syscon_rk3328.c |  2 +-
 arch/arm/mach-rockchip/rk3368-board-spl.c     | 10 +++++-----
 arch/arm/mach-rockchip/rk3368-board-tpl.c     | 12 +++++------
 arch/arm/mach-rockchip/rk3368/Kconfig         |  2 +-
 arch/arm/mach-rockchip/rk3368/clk_rk3368.c    |  4 ++--
 arch/arm/mach-rockchip/rk3368/rk3368.c        |  6 +++---
 arch/arm/mach-rockchip/rk3368/syscon_rk3368.c |  2 +-
 arch/arm/mach-rockchip/rk3399-board-spl.c     | 12 +++++------
 arch/arm/mach-rockchip/rk3399-board.c         |  2 +-
 arch/arm/mach-rockchip/rk3399/Kconfig         |  2 +-
 arch/arm/mach-rockchip/rk3399/clk_rk3399.c    |  4 ++--
 arch/arm/mach-rockchip/rk3399/rk3399.c        |  2 +-
 arch/arm/mach-rockchip/rk3399/syscon_rk3399.c |  2 +-
 arch/arm/mach-rockchip/rk_timer.c             |  2 +-
 arch/arm/mach-rockchip/rv1108/Kconfig         |  2 +-
 arch/arm/mach-rockchip/rv1108/clk_rv1108.c    |  4 ++--
 arch/arm/mach-rockchip/rv1108/syscon_rv1108.c |  2 +-
 arch/arm/mach-rockchip/sdram_common.c         |  2 +-
 board/elgin/elgin_rv1108/elgin_rv1108.c       |  4 ++--
 board/rockchip/evb_rk3036/evb_rk3036.c        |  4 ++--
 board/rockchip/evb_rk3229/evb_rk3229.c        |  2 +-
 board/rockchip/evb_rk3399/evb-rk3399.c        |  2 +-
 board/rockchip/evb_rv1108/evb_rv1108.c        |  4 ++--
 board/rockchip/kylin_rk3036/kylin_rk3036.c    |  4 ++--
 board/rockchip/sheep_rk3368/sheep_rk3368.c    |  4 ++--
 .../lion_rk3368/lion_rk3368.c                 |  6 +++---
 .../puma_rk3399/puma-rk3399.c                 | 10 +++++-----
 board/vamrs/rock960_rk3399/rock960-rk3399.c   |  2 +-
 cmd/rockusb.c                                 |  2 +-
 drivers/clk/rockchip/clk_rk3036.c             |  6 +++---
 drivers/clk/rockchip/clk_rk3128.c             |  6 +++---
 drivers/clk/rockchip/clk_rk3188.c             |  8 ++++----
 drivers/clk/rockchip/clk_rk322x.c             |  6 +++---
 drivers/clk/rockchip/clk_rk3288.c             |  8 ++++----
 drivers/clk/rockchip/clk_rk3328.c             |  8 ++++----
 drivers/clk/rockchip/clk_rk3368.c             |  6 +++---
 drivers/clk/rockchip/clk_rk3399.c             |  6 +++---
 drivers/clk/rockchip/clk_rv1108.c             |  6 +++---
 drivers/gpio/rk_gpio.c                        |  3 ++-
 drivers/i2c/rk_i2c.c                          |  6 +++---
 drivers/mmc/rockchip_dw_mmc.c                 |  4 ++--
 drivers/net/gmac_rockchip.c                   | 18 ++++++++---------
 drivers/pwm/rk_pwm.c                          |  2 +-
 drivers/ram/rockchip/dmc-rk3368.c             | 12 +++++------
 drivers/ram/rockchip/sdram_rk3128.c           |  6 +++---
 drivers/ram/rockchip/sdram_rk3188.c           | 14 ++++++-------
 drivers/ram/rockchip/sdram_rk322x.c           | 16 +++++++--------
 drivers/ram/rockchip/sdram_rk3288.c           | 14 ++++++-------
 drivers/ram/rockchip/sdram_rk3328.c           |  6 +++---
 drivers/ram/rockchip/sdram_rk3399.c           | 12 +++++------
 drivers/reset/reset-rockchip.c                |  2 +-
 drivers/serial/serial_rockchip.c              |  2 +-
 drivers/sound/rockchip_sound.c                |  2 +-
 drivers/spi/rk_spi.c                          |  4 ++--
 drivers/sysreset/sysreset_rockchip.c          |  6 +++---
 drivers/timer/rockchip_timer.c                |  2 +-
 drivers/usb/gadget/f_rockusb.c                |  2 +-
 drivers/video/rockchip/rk3288_hdmi.c          |  6 +++---
 drivers/video/rockchip/rk3288_mipi.c          | 10 +++++-----
 drivers/video/rockchip/rk3288_vop.c           |  6 +++---
 drivers/video/rockchip/rk3399_hdmi.c          |  6 +++---
 drivers/video/rockchip/rk3399_mipi.c          | 10 +++++-----
 drivers/video/rockchip/rk3399_vop.c           |  2 +-
 drivers/video/rockchip/rk_edp.c               |  6 +++---
 drivers/video/rockchip/rk_hdmi.c              |  5 ++---
 drivers/video/rockchip/rk_lvds.c              |  6 +++---
 drivers/video/rockchip/rk_mipi.c              |  9 ++++-----
 drivers/video/rockchip/rk_vop.c               |  7 +++----
 drivers/video/rockchip/rk_vop.h               |  2 +-
 include/configs/rk3036_common.h               |  2 +-
 include/configs/rk3188_common.h               |  2 +-
 include/configs/rk322x_common.h               |  2 +-
 include/configs/rk3288_common.h               |  2 +-
 include/configs/rk3368_common.h               |  2 +-
 include/configs/rv1108_common.h               |  2 +-
 127 files changed, 495 insertions(+), 299 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-rk3036/boot0.h
 create mode 100644 arch/arm/include/asm/arch-rk3036/gpio.h
 create mode 100644 arch/arm/include/asm/arch-rk3128/boot0.h
 create mode 100644 arch/arm/include/asm/arch-rk3128/gpio.h
 create mode 100644 arch/arm/include/asm/arch-rk3188/boot0.h
 create mode 100644 arch/arm/include/asm/arch-rk3188/gpio.h
 create mode 100644 arch/arm/include/asm/arch-rk322x/boot0.h
 create mode 100644 arch/arm/include/asm/arch-rk322x/gpio.h
 create mode 100644 arch/arm/include/asm/arch-rk3288/boot0.h
 create mode 100644 arch/arm/include/asm/arch-rk3288/gpio.h
 create mode 100644 arch/arm/include/asm/arch-rk3328/boot0.h
 create mode 100644 arch/arm/include/asm/arch-rk3328/gpio.h
 create mode 100644 arch/arm/include/asm/arch-rk3368/boot0.h
 create mode 100644 arch/arm/include/asm/arch-rk3368/gpio.h
 create mode 100644 arch/arm/include/asm/arch-rk3399/boot0.h
 create mode 100644 arch/arm/include/asm/arch-rk3399/gpio.h
 create mode 100644 arch/arm/include/asm/arch-rv1108/boot0.h
 create mode 100644 arch/arm/include/asm/arch-rv1108/gpio.h

-- 
2.20.1



More information about the U-Boot mailing list