diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-26 02:31:32 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-02-01 12:55:31 -0500 |
commit | 916ee9249a7f19d8eb18cc9ee16ca495a517ab34 (patch) | |
tree | 43e77e20a48d32586ec44a46fab1c32782aa55d5 /arch | |
parent | 1f51bbfd5905b8c860cc95ae10c20e0844d0ade8 (diff) |
ARM: S3C244X: Move S3C2442 code into S3C2440
Move the remaining S3C2442 code into mach-s3c2440 as there is only one
file currently in there and these two SoCs are very similar.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c2440/Kconfig | 12 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/s3c2442.c (renamed from arch/arm/mach-s3c2442/s3c2442.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c2442/Kconfig | 11 |
4 files changed, 14 insertions, 11 deletions
diff --git a/arch/arm/mach-s3c2440/Kconfig b/arch/arm/mach-s3c2440/Kconfig index 45cab7af5cde..f496385e1c75 100644 --- a/arch/arm/mach-s3c2440/Kconfig +++ b/arch/arm/mach-s3c2440/Kconfig | |||
@@ -15,6 +15,18 @@ config CPU_S3C2440 | |||
15 | help | 15 | help |
16 | Support for S3C2440 Samsung Mobile CPU based systems. | 16 | Support for S3C2440 Samsung Mobile CPU based systems. |
17 | 17 | ||
18 | config CPU_S3C2442 | ||
19 | bool | ||
20 | depends on ARCH_S3C2410 | ||
21 | select CPU_ARM920T | ||
22 | select S3C2410_CLOCK | ||
23 | select S3C2410_GPIO | ||
24 | select S3C2410_PM if PM | ||
25 | select CPU_S3C244X | ||
26 | select CPU_LLSERIAL_S3C2440 | ||
27 | help | ||
28 | Support for S3C2442 Samsung Mobile CPU based systems. | ||
29 | |||
18 | config S3C2440_DMA | 30 | config S3C2440_DMA |
19 | bool | 31 | bool |
20 | depends on ARCH_S3C2410 && CPU_S3C24405B | 32 | depends on ARCH_S3C2410 && CPU_S3C24405B |
diff --git a/arch/arm/mach-s3c2440/Makefile b/arch/arm/mach-s3c2440/Makefile index e51497ca12ea..e8412b35dcb0 100644 --- a/arch/arm/mach-s3c2440/Makefile +++ b/arch/arm/mach-s3c2440/Makefile | |||
@@ -10,6 +10,8 @@ obj-n := | |||
10 | obj- := | 10 | obj- := |
11 | 11 | ||
12 | obj-$(CONFIG_CPU_S3C2440) += s3c2440.o dsc.o | 12 | obj-$(CONFIG_CPU_S3C2440) += s3c2440.o dsc.o |
13 | obj-$(CONFIG_CPU_S3C2442) += s3c2442.o | ||
14 | |||
13 | obj-$(CONFIG_CPU_S3C2440) += irq.o | 15 | obj-$(CONFIG_CPU_S3C2440) += irq.o |
14 | obj-$(CONFIG_CPU_S3C2440) += clock.o | 16 | obj-$(CONFIG_CPU_S3C2440) += clock.o |
15 | obj-$(CONFIG_S3C2440_DMA) += dma.o | 17 | obj-$(CONFIG_S3C2440_DMA) += dma.o |
diff --git a/arch/arm/mach-s3c2442/s3c2442.c b/arch/arm/mach-s3c2440/s3c2442.c index 188ad1e57dc0..188ad1e57dc0 100644 --- a/arch/arm/mach-s3c2442/s3c2442.c +++ b/arch/arm/mach-s3c2440/s3c2442.c | |||
diff --git a/arch/arm/mach-s3c2442/Kconfig b/arch/arm/mach-s3c2442/Kconfig index 4832cd6ccfbc..29ef0669e959 100644 --- a/arch/arm/mach-s3c2442/Kconfig +++ b/arch/arm/mach-s3c2442/Kconfig | |||
@@ -2,14 +2,3 @@ | |||
2 | # | 2 | # |
3 | # Licensed under GPLv2 | 3 | # Licensed under GPLv2 |
4 | 4 | ||
5 | config CPU_S3C2442 | ||
6 | bool | ||
7 | depends on ARCH_S3C2410 | ||
8 | select CPU_ARM920T | ||
9 | select S3C2410_CLOCK | ||
10 | select S3C2410_GPIO | ||
11 | select S3C2410_PM if PM | ||
12 | select CPU_S3C244X | ||
13 | select CPU_LLSERIAL_S3C2440 | ||
14 | help | ||
15 | Support for S3C2442 Samsung Mobile CPU based systems. | ||