diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-02-05 23:21:03 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-03-02 18:55:54 -0500 |
commit | 84c028b9cebd928cf434b27093fa65f7b4b81cfe (patch) | |
tree | 9451edaa92cf44112e80d6bf5dc057d913122163 | |
parent | dd6f01b5ccba602cf0790bc44cc4429013373719 (diff) |
ARM: S3C2443: move mach-s3c2443/* into mach-s3c24xx/
This patch moves S3C2443 stuff into mach-s3c24xx/ directory
so that we can merge the s3c24 series' directories to the
just one mach-s3c24xx/ directory.
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2443/Kconfig | 32 | ||||
-rw-r--r-- | arch/arm/mach-s3c2443/Makefile | 20 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 29 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Makefile | 5 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/clock-s3c2443.c (renamed from arch/arm/mach-s3c2443/clock.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/dma-s3c2443.c (renamed from arch/arm/mach-s3c2443/dma.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/irq-s3c2443.c (renamed from arch/arm/mach-s3c2443/irq.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2443.c (renamed from arch/arm/mach-s3c2443/mach-smdk2443.c) | 0 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/s3c2443.c (renamed from arch/arm/mach-s3c2443/s3c2443.c) | 0 |
11 files changed, 35 insertions, 54 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index f8044e9495d2..22d6db37c9e1 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1072,7 +1072,6 @@ if ARCH_S3C24XX | |||
1072 | source "arch/arm/mach-s3c2412/Kconfig" | 1072 | source "arch/arm/mach-s3c2412/Kconfig" |
1073 | source "arch/arm/mach-s3c2416/Kconfig" | 1073 | source "arch/arm/mach-s3c2416/Kconfig" |
1074 | source "arch/arm/mach-s3c2440/Kconfig" | 1074 | source "arch/arm/mach-s3c2440/Kconfig" |
1075 | source "arch/arm/mach-s3c2443/Kconfig" | ||
1076 | endif | 1075 | endif |
1077 | 1076 | ||
1078 | if ARCH_S3C64XX | 1077 | if ARCH_S3C64XX |
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 29f11649a96f..2e46fe91e540 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -175,7 +175,7 @@ machine-$(CONFIG_ARCH_PRIMA2) := prima2 | |||
175 | machine-$(CONFIG_ARCH_PXA) := pxa | 175 | machine-$(CONFIG_ARCH_PXA) := pxa |
176 | machine-$(CONFIG_ARCH_REALVIEW) := realview | 176 | machine-$(CONFIG_ARCH_REALVIEW) := realview |
177 | machine-$(CONFIG_ARCH_RPC) := rpc | 177 | machine-$(CONFIG_ARCH_RPC) := rpc |
178 | machine-$(CONFIG_ARCH_S3C24XX) := s3c24xx s3c2412 s3c2440 s3c2443 | 178 | machine-$(CONFIG_ARCH_S3C24XX) := s3c24xx s3c2412 s3c2440 |
179 | machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx | 179 | machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx |
180 | machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 | 180 | machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 |
181 | machine-$(CONFIG_ARCH_S5PC100) := s5pc100 | 181 | machine-$(CONFIG_ARCH_S5PC100) := s5pc100 |
diff --git a/arch/arm/mach-s3c2443/Kconfig b/arch/arm/mach-s3c2443/Kconfig deleted file mode 100644 index 793a0fe654b6..000000000000 --- a/arch/arm/mach-s3c2443/Kconfig +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | # Copyright 2007 Simtec Electronics | ||
2 | # | ||
3 | # Licensed under GPLv2 | ||
4 | |||
5 | config CPU_S3C2443 | ||
6 | bool | ||
7 | depends on ARCH_S3C24XX | ||
8 | select CPU_ARM920T | ||
9 | select S3C2443_DMA if S3C2410_DMA | ||
10 | select CPU_LLSERIAL_S3C2440 | ||
11 | select SAMSUNG_CLKSRC | ||
12 | select S3C2443_CLOCK | ||
13 | help | ||
14 | Support for the S3C2443 SoC from the S3C24XX line | ||
15 | |||
16 | config S3C2443_DMA | ||
17 | bool | ||
18 | depends on CPU_S3C2443 | ||
19 | help | ||
20 | Internal config node for S3C2443 DMA support | ||
21 | |||
22 | menu "S3C2443 Machines" | ||
23 | |||
24 | config MACH_SMDK2443 | ||
25 | bool "SMDK2443" | ||
26 | select CPU_S3C2443 | ||
27 | select MACH_SMDK | ||
28 | select S3C_DEV_HSMMC1 | ||
29 | help | ||
30 | Say Y here if you are using an SMDK2443 | ||
31 | |||
32 | endmenu | ||
diff --git a/arch/arm/mach-s3c2443/Makefile b/arch/arm/mach-s3c2443/Makefile deleted file mode 100644 index d1843c9eb8bd..000000000000 --- a/arch/arm/mach-s3c2443/Makefile +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | # arch/arm/mach-s3c2443/Makefile | ||
2 | # | ||
3 | # Copyright 2007 Simtec Electronics | ||
4 | # | ||
5 | # Licensed under GPLv2 | ||
6 | |||
7 | obj-y := | ||
8 | obj-m := | ||
9 | obj-n := | ||
10 | obj- := | ||
11 | |||
12 | obj-$(CONFIG_CPU_S3C2443) += s3c2443.o | ||
13 | obj-$(CONFIG_CPU_S3C2443) += irq.o | ||
14 | obj-$(CONFIG_CPU_S3C2443) += clock.o | ||
15 | |||
16 | obj-$(CONFIG_S3C2443_DMA) += dma.o | ||
17 | |||
18 | # Machine support | ||
19 | |||
20 | obj-$(CONFIG_MACH_SMDK2443) += mach-smdk2443.o | ||
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index d8d156c0881c..44b2a3212d29 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig | |||
@@ -70,6 +70,17 @@ config CPU_S3C244X | |||
70 | def_bool y | 70 | def_bool y |
71 | depends on CPU_S3C2440 || CPU_S3C2442 | 71 | depends on CPU_S3C2440 || CPU_S3C2442 |
72 | 72 | ||
73 | config CPU_S3C2443 | ||
74 | bool "SAMSUNG S3C2443" | ||
75 | depends on ARCH_S3C24XX | ||
76 | select CPU_ARM920T | ||
77 | select CPU_LLSERIAL_S3C2440 | ||
78 | select SAMSUNG_CLKSRC | ||
79 | select S3C2443_CLOCK | ||
80 | select S3C2443_DMA if S3C24XX_DMA | ||
81 | help | ||
82 | Support for the S3C2443 SoC from the S3C24XX line | ||
83 | |||
73 | if CPU_S3C2410 | 84 | if CPU_S3C2410 |
74 | 85 | ||
75 | config S3C2410_DMA | 86 | config S3C2410_DMA |
@@ -460,6 +471,24 @@ config SMDK2440_CPU2442 | |||
460 | 471 | ||
461 | endif # CPU_S3C2440 | 472 | endif # CPU_S3C2440 |
462 | 473 | ||
474 | if CPU_S3C2443 | ||
475 | |||
476 | config S3C2443_DMA | ||
477 | bool | ||
478 | help | ||
479 | Internal config node for S3C2443 DMA support | ||
480 | |||
481 | comment "S3C2443 Boards" | ||
482 | |||
483 | config MACH_SMDK2443 | ||
484 | bool "SMDK2443" | ||
485 | select MACH_SMDK | ||
486 | select S3C_DEV_HSMMC1 | ||
487 | help | ||
488 | Say Y here if you are using an SMDK2443 | ||
489 | |||
490 | endif # CPU_S3C2443 | ||
491 | |||
463 | endmenu # SAMSUNG S3C24XX SoCs Support | 492 | endmenu # SAMSUNG S3C24XX SoCs Support |
464 | 493 | ||
465 | endif # ARCH_S3C24XX | 494 | endif # ARCH_S3C24XX |
diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile index f458cf2e1dd8..08b44a3ab858 100644 --- a/arch/arm/mach-s3c24xx/Makefile +++ b/arch/arm/mach-s3c24xx/Makefile | |||
@@ -31,6 +31,9 @@ obj-$(CONFIG_CPU_S3C2442) += s3c2442.o | |||
31 | obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o | 31 | obj-$(CONFIG_CPU_S3C244X) += s3c244x.o irq-s3c244x.o clock-s3c244x.o |
32 | obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o | 32 | obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o |
33 | 33 | ||
34 | obj-$(CONFIG_CPU_S3C2443) += s3c2443.o irq-s3c2443.o clock-s3c2443.o | ||
35 | obj-$(CONFIG_S3C2443_DMA) += dma-s3c2443.o | ||
36 | |||
34 | # | 37 | # |
35 | # machine support | 38 | # machine support |
36 | # following is ordered alphabetically by option text. | 39 | # following is ordered alphabetically by option text. |
@@ -66,6 +69,8 @@ obj-$(CONFIG_ARCH_S3C2440) += mach-smdk2440.o | |||
66 | obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o | 69 | obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o |
67 | obj-$(CONFIG_MACH_RX1950) += mach-rx1950.o | 70 | obj-$(CONFIG_MACH_RX1950) += mach-rx1950.o |
68 | 71 | ||
72 | obj-$(CONFIG_MACH_SMDK2443) += mach-smdk2443.o | ||
73 | |||
69 | # common bits of machine support | 74 | # common bits of machine support |
70 | 75 | ||
71 | obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o | 76 | obj-$(CONFIG_SIMTEC_NOR) += nor-simtec.o |
diff --git a/arch/arm/mach-s3c2443/clock.c b/arch/arm/mach-s3c24xx/clock-s3c2443.c index 6dde2696f8f0..6dde2696f8f0 100644 --- a/arch/arm/mach-s3c2443/clock.c +++ b/arch/arm/mach-s3c24xx/clock-s3c2443.c | |||
diff --git a/arch/arm/mach-s3c2443/dma.c b/arch/arm/mach-s3c24xx/dma-s3c2443.c index de6b4a23c9ed..de6b4a23c9ed 100644 --- a/arch/arm/mach-s3c2443/dma.c +++ b/arch/arm/mach-s3c24xx/dma-s3c2443.c | |||
diff --git a/arch/arm/mach-s3c2443/irq.c b/arch/arm/mach-s3c24xx/irq-s3c2443.c index 35e4ff24fb43..35e4ff24fb43 100644 --- a/arch/arm/mach-s3c2443/irq.c +++ b/arch/arm/mach-s3c24xx/irq-s3c2443.c | |||
diff --git a/arch/arm/mach-s3c2443/mach-smdk2443.c b/arch/arm/mach-s3c24xx/mach-smdk2443.c index 209236956222..209236956222 100644 --- a/arch/arm/mach-s3c2443/mach-smdk2443.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2443.c | |||
diff --git a/arch/arm/mach-s3c2443/s3c2443.c b/arch/arm/mach-s3c24xx/s3c2443.c index b9deaeb0dfff..b9deaeb0dfff 100644 --- a/arch/arm/mach-s3c2443/s3c2443.c +++ b/arch/arm/mach-s3c24xx/s3c2443.c | |||