Skip to content

Commit

Permalink
ARM: S3C64XX: Merge s3c6400-init.c into cpu.c
Browse files Browse the repository at this point in the history
Since this file is small, and is compiled for both systems in this
architecture merge it into the cpu support file and remove the original
instead of moving it.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Ben Dooks committed Feb 20, 2010
1 parent f7be9ab commit 6ce8fde
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 38 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-s3c64xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@

config CPU_S3C6400
bool
select CPU_S3C6400_INIT
select CPU_S3C6400_CLOCK
help
Enable S3C6400 CPU support

config CPU_S3C6410
bool
select CPU_S3C6400_INIT
select CPU_S3C6400_CLOCK
help
Enable S3C6410 CPU support
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/mach-s3c64xx/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ static struct sys_device s3c64xx_sysdev = {
.cls = &s3c64xx_sysclass,
};

/* uart registration process */

void __init s3c6400_common_init_uarts(struct s3c2410_uartcfg *cfg, int no)
{
s3c24xx_init_uartdevs("s3c6400-uart", s3c64xx_uart_resources, cfg, no);
}

/* read cpu identification code */

Expand Down
6 changes: 0 additions & 6 deletions arch/arm/plat-s3c64xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ if PLAT_S3C64XX

# Configuration options shared by all S3C64XX implementations

config CPU_S3C6400_INIT
bool
help
Common initialisation code for the S3C6400 that is shared
by other CPUs in the series, such as the S3C6410.

config CPU_S3C6400_CLOCK
bool
help
Expand Down
1 change: 0 additions & 1 deletion arch/arm/plat-s3c64xx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ obj- :=

# CPU support

obj-$(CONFIG_CPU_S3C6400_INIT) += s3c6400-init.o
obj-$(CONFIG_CPU_S3C6400_CLOCK) += s3c6400-clock.o
29 changes: 0 additions & 29 deletions arch/arm/plat-s3c64xx/s3c6400-init.c

This file was deleted.

0 comments on commit 6ce8fde

Please sign in to comment.