[U-Boot] [PATCH 0/8] samsung: Use common config files with Samsung boards (help wanted)

Simon Glass sjg at chromium.org
Wed Jul 23 14:11:13 CEST 2014


This series tries to unify the Samsung board configs into a few header
files for exynos5 and exynos5.

The purpose is to make it easier to move to driver model. In that case
I would like things like the GPIO drivers and serial drivers to work in
a standard way, and not need to support device tree and platform data at
the same time. That would be quite painful.

Another reason is that the Chrome OS EC drivers are currently included in
boards that don't have a Chrome OS EC. This concern was raised by the
Samsung maintainer (Minkyu) a while back.

There are still a few boards that don't use CONFIG_OF_CONTROL so I have
updated these with the most rudimentary of device tree files.

Unfortunately I don't have boards for most of these (for testing) and I
am hoping that the maintainers can come to the rescue and fix up any
patches that have problems. I am also worried that I have used a common
exynos file for things like smdkv310, when in fact they have some other
chip in common.

So maintainers, please can you test this and re-issue the patch, or make
comments on my attempts?


Simon Glass (8):
  exynos: Rename -dt config files to -common
  exynos: Move common exynos settings into a common file
  exynos: Move common smdk5420 things to common file
  exynos: config: Move cros_ec and tps65090 out of smdk boards
  config: Move arndale to use common exynos5250 file
  config: Move smdkv310 to use common exynos4 file
  samsung: Move s5p_goni to use exynos-common config
  samsung: Move smdkc100 to use exynos-common config

 arch/arm/dts/Makefile                              |   3 +
 arch/arm/dts/exynos4210-smdkv310.dts               |  21 ++
 arch/arm/dts/s5pc1xx-goni.dts                      |  21 ++
 arch/arm/dts/s5pc1xx-smdkc100.dts                  |  21 ++
 arch/arm/include/asm/arch-s5pc1xx/periph.h         |  61 ++++++
 arch/arm/include/asm/arch-s5pc1xx/pinmux.h         |  50 +++++
 drivers/mmc/s5p_sdhci.c                            |   2 -
 include/configs/arndale.h                          | 212 ++-------------------
 include/configs/{exynos4-dt.h => exynos-common.h}  | 104 +++-------
 include/configs/exynos4-common.h                   |  64 +++++++
 include/configs/{exynos5-dt.h => exynos5-common.h} | 110 ++---------
 include/configs/exynos5-dt-common.h                |  35 ++++
 .../{exynos5250-dt.h => exynos5250-common.h}       |   5 +-
 .../configs/{exynos5420.h => exynos5420-common.h}  |  11 +-
 include/configs/origen.h                           |   5 +-
 include/configs/peach-pit.h                        |   8 +-
 include/configs/s5p_goni.h                         |  55 +-----
 include/configs/s5pc210_universal.h                |   5 +-
 include/configs/smdk5250.h                         |   6 +-
 include/configs/smdk5420.h                         |   7 +-
 include/configs/smdkc100.h                         |  57 ++----
 include/configs/smdkv310.h                         |  65 ++-----
 include/configs/snow.h                             |   8 +-
 include/configs/trats.h                            |   6 +-
 include/configs/trats2.h                           |   6 +-
 25 files changed, 390 insertions(+), 558 deletions(-)
 create mode 100644 arch/arm/dts/exynos4210-smdkv310.dts
 create mode 100644 arch/arm/dts/s5pc1xx-goni.dts
 create mode 100644 arch/arm/dts/s5pc1xx-smdkc100.dts
 create mode 100644 arch/arm/include/asm/arch-s5pc1xx/periph.h
 create mode 100644 arch/arm/include/asm/arch-s5pc1xx/pinmux.h
 rename include/configs/{exynos4-dt.h => exynos-common.h} (54%)
 create mode 100644 include/configs/exynos4-common.h
 rename include/configs/{exynos5-dt.h => exynos5-common.h} (70%)
 create mode 100644 include/configs/exynos5-dt-common.h
 rename include/configs/{exynos5250-dt.h => exynos5250-common.h} (92%)
 rename include/configs/{exynos5420.h => exynos5420-common.h} (88%)

-- 
2.0.0.526.g5318336



More information about the U-Boot mailing list