[U-Boot] [PATCH] S5P: Use accessor functions instead of SoC specific defines to access the base address

Minkyu Kang promsoft at gmail.com
Tue Aug 17 05:15:29 CEST 2010


On 13 August 2010 16:45, Minkyu Kang <mk7.kang at samsung.com> wrote:
> This patch is intended to prepare the other S5P SoC. (s5pc210)
> If use SoC specific defines then can't share with other SoC.
> So, make the accessor functions for access the base address by common way.
>
> Signed-off-by: Minkyu Kang <mk7.kang at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
>  arch/arm/cpu/armv7/s5pc1xx/clock.c      |   24 ++++++++++++++++--------
>  arch/arm/cpu/armv7/s5pc1xx/cpu_info.c   |    2 +-
>  arch/arm/cpu/armv7/s5pc1xx/reset.S      |    2 +-
>  arch/arm/cpu/armv7/s5pc1xx/sromc.c      |    8 ++------
>  arch/arm/cpu/armv7/s5pc1xx/timer.c      |    5 +----
>  arch/arm/include/asm/arch-s5pc1xx/cpu.h |   28 +++++++++++++++++++++++-----
>  arch/arm/include/asm/arch-s5pc1xx/pwm.h |    4 ----
>  board/samsung/goni/lowlevel_init.S      |    6 +++---
>  board/samsung/smdkc100/lowlevel_init.S  |    2 +-
>  board/samsung/smdkc100/onenand.c        |    3 ++-
>  board/samsung/smdkc100/smdkc100.c       |    2 +-
>  drivers/mmc/s5p_mmc.c                   |    6 +-----
>  drivers/serial/serial_s5p.c             |    6 +-----
>  13 files changed, 53 insertions(+), 45 deletions(-)
>

appiled to u-boot-samsung

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


More information about the U-Boot mailing list