[U-Boot] [PATCH v3 0/3] arm:exynos:cleanup: Extract common code

Lukasz Majewski l.majewski at majess.pl
Mon Aug 12 23:15:05 CEST 2013


This series of commits attempts to clean-up the Exynos3/4 code. Common code
for Exynos3 (S5PV210) and Exynos4 has been extracted.

Moreover it will facilitate support for older Samsung targets - like venerable 
s3c6410 (arm1176) SoC.

Lukasz Majewski (3):
  arm:samsung:serial Extract common UART code
  arm:samsung: Move common code from ./s5p-common to ./samsung-common/
  arm:samsung:cpu_info: Rename s5p_* to samsung_*

 Makefile                                    |    7 +-
 arch/arm/cpu/armv7/exynos/pinmux.c          |    2 +-
 arch/arm/cpu/armv7/s5p-common/Makefile      |   34 ------
 arch/arm/cpu/armv7/s5p-common/cpu_info.c    |   41 -------
 arch/arm/cpu/armv7/s5p-common/pwm.c         |  171 --------------------------
 arch/arm/cpu/armv7/s5p-common/sromc.c       |   33 -----
 arch/arm/cpu/armv7/s5p-common/timer.c       |  132 --------------------
 arch/arm/cpu/samsung-common/Makefile        |   30 +++++
 arch/arm/cpu/samsung-common/cpu_info.c      |   40 +++++++
 arch/arm/cpu/samsung-common/pwm.c           |  172 +++++++++++++++++++++++++++
 arch/arm/cpu/samsung-common/sromc.c         |   33 +++++
 arch/arm/cpu/samsung-common/timer.c         |  131 ++++++++++++++++++++
 arch/arm/include/asm/arch-exynos/cpu.h      |   24 ++--
 arch/arm/include/asm/arch-exynos/pwm.h      |   55 ---------
 arch/arm/include/asm/arch-exynos/sromc.h    |   55 ---------
 arch/arm/include/asm/arch-exynos/uart.h     |   44 -------
 arch/arm/include/asm/arch-s5pc1xx/cpu.h     |   12 +-
 arch/arm/include/asm/arch-s5pc1xx/pwm.h     |   55 ---------
 arch/arm/include/asm/arch-s5pc1xx/sromc.h   |   40 -------
 arch/arm/include/asm/arch-s5pc1xx/uart.h    |   44 -------
 arch/arm/include/asm/samsung-common/pwm.h   |   55 +++++++++
 arch/arm/include/asm/samsung-common/sromc.h |   60 ++++++++++
 arch/arm/include/asm/samsung-common/uart.h  |   64 ++++++++++
 board/samsung/smdk5250/exynos5-dt.c         |    2 +-
 board/samsung/smdkc100/smdkc100.c           |   11 +-
 board/samsung/smdkv310/smdkv310.c           |    2 +-
 drivers/serial/Makefile                     |    2 +-
 drivers/serial/serial_s5p.c                 |   13 +-
 include/configs/exynos5250-dt.h             |    1 +
 include/configs/origen.h                    |    1 +
 include/configs/s5p_goni.h                  |    1 +
 include/configs/s5pc210_universal.h         |    1 +
 include/configs/smdkc100.h                  |    1 +
 include/configs/smdkv310.h                  |    1 +
 include/configs/trats.h                     |    1 +
 spl/Makefile                                |    2 +-
 36 files changed, 626 insertions(+), 747 deletions(-)
 delete mode 100644 arch/arm/cpu/armv7/s5p-common/Makefile
 delete mode 100644 arch/arm/cpu/armv7/s5p-common/cpu_info.c
 delete mode 100644 arch/arm/cpu/armv7/s5p-common/pwm.c
 delete mode 100644 arch/arm/cpu/armv7/s5p-common/sromc.c
 delete mode 100644 arch/arm/cpu/armv7/s5p-common/timer.c
 create mode 100644 arch/arm/cpu/samsung-common/Makefile
 create mode 100644 arch/arm/cpu/samsung-common/cpu_info.c
 create mode 100644 arch/arm/cpu/samsung-common/pwm.c
 create mode 100644 arch/arm/cpu/samsung-common/sromc.c
 create mode 100644 arch/arm/cpu/samsung-common/timer.c
 delete mode 100644 arch/arm/include/asm/arch-exynos/pwm.h
 delete mode 100644 arch/arm/include/asm/arch-exynos/sromc.h
 delete mode 100644 arch/arm/include/asm/arch-exynos/uart.h
 delete mode 100644 arch/arm/include/asm/arch-s5pc1xx/pwm.h
 delete mode 100644 arch/arm/include/asm/arch-s5pc1xx/sromc.h
 delete mode 100644 arch/arm/include/asm/arch-s5pc1xx/uart.h
 create mode 100644 arch/arm/include/asm/samsung-common/pwm.h
 create mode 100644 arch/arm/include/asm/samsung-common/sromc.h
 create mode 100644 arch/arm/include/asm/samsung-common/uart.h

-- 
1.7.10.4



More information about the U-Boot mailing list