diff options
-rw-r--r-- | arch/arm/mach-s3c64xx/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/cpu.c | 6 | ||||
-rw-r--r-- | arch/arm/plat-s3c64xx/Kconfig | 6 | ||||
-rw-r--r-- | arch/arm/plat-s3c64xx/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/plat-s3c64xx/s3c6400-init.c | 29 |
5 files changed, 6 insertions, 38 deletions
diff --git a/arch/arm/mach-s3c64xx/Kconfig b/arch/arm/mach-s3c64xx/Kconfig index 7c9cd9a9901..33d82b1c9ef 100644 --- a/arch/arm/mach-s3c64xx/Kconfig +++ b/arch/arm/mach-s3c64xx/Kconfig | |||
@@ -7,14 +7,12 @@ | |||
7 | 7 | ||
8 | config CPU_S3C6400 | 8 | config CPU_S3C6400 |
9 | bool | 9 | bool |
10 | select CPU_S3C6400_INIT | ||
11 | select CPU_S3C6400_CLOCK | 10 | select CPU_S3C6400_CLOCK |
12 | help | 11 | help |
13 | Enable S3C6400 CPU support | 12 | Enable S3C6400 CPU support |
14 | 13 | ||
15 | config CPU_S3C6410 | 14 | config CPU_S3C6410 |
16 | bool | 15 | bool |
17 | select CPU_S3C6400_INIT | ||
18 | select CPU_S3C6400_CLOCK | 16 | select CPU_S3C6400_CLOCK |
19 | help | 17 | help |
20 | Enable S3C6410 CPU support | 18 | Enable S3C6410 CPU support |
diff --git a/arch/arm/mach-s3c64xx/cpu.c b/arch/arm/mach-s3c64xx/cpu.c index 410d688a691..374e45e566b 100644 --- a/arch/arm/mach-s3c64xx/cpu.c +++ b/arch/arm/mach-s3c64xx/cpu.c | |||
@@ -129,6 +129,12 @@ static struct sys_device s3c64xx_sysdev = { | |||
129 | .cls = &s3c64xx_sysclass, | 129 | .cls = &s3c64xx_sysclass, |
130 | }; | 130 | }; |
131 | 131 | ||
132 | /* uart registration process */ | ||
133 | |||
134 | void __init s3c6400_common_init_uarts(struct s3c2410_uartcfg *cfg, int no) | ||
135 | { | ||
136 | s3c24xx_init_uartdevs("s3c6400-uart", s3c64xx_uart_resources, cfg, no); | ||
137 | } | ||
132 | 138 | ||
133 | /* read cpu identification code */ | 139 | /* read cpu identification code */ |
134 | 140 | ||
diff --git a/arch/arm/plat-s3c64xx/Kconfig b/arch/arm/plat-s3c64xx/Kconfig index fb7e25f710e..cc300894f36 100644 --- a/arch/arm/plat-s3c64xx/Kconfig +++ b/arch/arm/plat-s3c64xx/Kconfig | |||
@@ -30,12 +30,6 @@ if PLAT_S3C64XX | |||
30 | 30 | ||
31 | # Configuration options shared by all S3C64XX implementations | 31 | # Configuration options shared by all S3C64XX implementations |
32 | 32 | ||
33 | config CPU_S3C6400_INIT | ||
34 | bool | ||
35 | help | ||
36 | Common initialisation code for the S3C6400 that is shared | ||
37 | by other CPUs in the series, such as the S3C6410. | ||
38 | |||
39 | config CPU_S3C6400_CLOCK | 33 | config CPU_S3C6400_CLOCK |
40 | bool | 34 | bool |
41 | help | 35 | help |
diff --git a/arch/arm/plat-s3c64xx/Makefile b/arch/arm/plat-s3c64xx/Makefile index bd4fe3b48ea..62fc25305ec 100644 --- a/arch/arm/plat-s3c64xx/Makefile +++ b/arch/arm/plat-s3c64xx/Makefile | |||
@@ -12,5 +12,4 @@ obj- := | |||
12 | 12 | ||
13 | # CPU support | 13 | # CPU support |
14 | 14 | ||
15 | obj-$(CONFIG_CPU_S3C6400_INIT) += s3c6400-init.o | ||
16 | obj-$(CONFIG_CPU_S3C6400_CLOCK) += s3c6400-clock.o | 15 | obj-$(CONFIG_CPU_S3C6400_CLOCK) += s3c6400-clock.o |
diff --git a/arch/arm/plat-s3c64xx/s3c6400-init.c b/arch/arm/plat-s3c64xx/s3c6400-init.c deleted file mode 100644 index e64caa4d02d..00000000000 --- a/arch/arm/plat-s3c64xx/s3c6400-init.c +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | /* linux/arch/arm/plat-s3c64xx/s3c6400-init.c | ||
2 | * | ||
3 | * Copyright 2008 Openmoko, Inc. | ||
4 | * Copyright 2008 Simtec Electronics | ||
5 | * Ben Dooks <ben@simtec.co.uk> | ||
6 | * http://armlinux.simtec.co.uk/ | ||
7 | * | ||
8 | * S3C6400 - CPU initialisation (common with other S3C64XX chips) | ||
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | ||
14 | |||
15 | #include <linux/kernel.h> | ||
16 | #include <linux/types.h> | ||
17 | #include <linux/init.h> | ||
18 | |||
19 | #include <plat/cpu.h> | ||
20 | #include <plat/devs.h> | ||
21 | #include <mach/s3c6400.h> | ||
22 | #include <mach/s3c6410.h> | ||
23 | |||
24 | /* uart registration process */ | ||
25 | |||
26 | void __init s3c6400_common_init_uarts(struct s3c2410_uartcfg *cfg, int no) | ||
27 | { | ||
28 | s3c24xx_init_uartdevs("s3c6400-uart", s3c64xx_uart_resources, cfg, no); | ||
29 | } | ||