[U-Boot] [PATCH ARM v2] Add a unified s3c24x0 header file

Minkyu Kang promsoft at gmail.com
Fri Nov 20 11:02:47 CET 2009


Dear Kevin Morfitt,

2009/11/17 kevin.morfitt at fearnside-systems.co.uk
<kevin.morfitt at fearnside-systems.co.uk>:
> This patch adds a unified s3c24x0 cpu header file that selects the header
> file for the specific s3c24x0 cpu from the SOC and CPU configs defined in
> board config file. This removes the current chain of s3c24-type #ifdef's
> from the s3c24x0 code.
>
> Signed-off-by: Kevin Morfitt <kevin.morfitt at fearnside-systems.co.uk>
> ---
> v2 changes: re-based to current u-boot-samsung.
>
>  board/mpl/vcma9/vcma9.c                    |    2 +-
>  board/mpl/vcma9/vcma9.h                    |    2 +-
>  board/samsung/smdk2400/smdk2400.c          |    2 +-
>  board/samsung/smdk2410/smdk2410.c          |    2 +-
>  board/sbc2410x/sbc2410x.c                  |    2 +-
>  board/trab/cmd_trab.c                      |    2 +-
>  board/trab/rs485.c                         |    2 +-
>  board/trab/rs485.h                         |    2 +-
>  board/trab/trab.c                          |    2 +-
>  board/trab/trab_fkt.c                      |    2 +-
>  board/trab/tsc2000.c                       |    2 +-
>  board/trab/vfd.c                           |    2 +-
>  cpu/arm920t/s3c24x0/interrupts.c           |    6 +-----
>  cpu/arm920t/s3c24x0/speed.c                |   13 +++----------
>  cpu/arm920t/s3c24x0/timer.c                |   15 +++------------
>  cpu/arm920t/s3c24x0/usb.c                  |   17 +++++++----------
>  cpu/arm920t/s3c24x0/usb_ohci.c             |   11 +++--------
>  cpu/arm920t/start.S                        |    4 ++--
>  drivers/i2c/s3c24x0_i2c.c                  |    6 +-----
>  drivers/mtd/nand/s3c2410_nand.c            |    2 +-
>  drivers/rtc/s3c24x0_rtc.c                  |    6 +-----
>  drivers/serial/serial_s3c24x0.c            |    6 +-----
>  drivers/usb/host/ohci-hcd.c                |    3 +--
>  include/asm-arm/arch-s3c24x0/s3c24x0_cpu.h |   27 +++++++++++++++++++++++++++
>  include/common.h                           |    5 +++--
>  include/configs/VCMA9.h                    |    7 ++++---
>  include/configs/sbc2410x.h                 |    7 ++++---
>  include/configs/smdk2400.h                 |    7 ++++---
>  include/configs/smdk2410.h                 |    7 ++++---
>  include/configs/trab.h                     |    9 +++++----
>  30 files changed, 87 insertions(+), 95 deletions(-)
>  create mode 100644 include/asm-arm/arch-s3c24x0/s3c24x0_cpu.h
>

applied to u-boot-samsung

Thanks
Minkyu Kang
-- 
from. prom.
www.promsoft.net


More information about the U-Boot mailing list