aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-s3c2410/Kconfig15
-rw-r--r--arch/arm/mach-s3c2410/Makefile10
2 files changed, 16 insertions, 9 deletions
diff --git a/arch/arm/mach-s3c2410/Kconfig b/arch/arm/mach-s3c2410/Kconfig
index eb4ec411312b..6329b4066f78 100644
--- a/arch/arm/mach-s3c2410/Kconfig
+++ b/arch/arm/mach-s3c2410/Kconfig
@@ -192,10 +192,17 @@ config S3C2412_PM
192 help 192 help
193 Internal config node to apply S3C2412 power management 193 Internal config node to apply S3C2412 power management
194 194
195config S3C2412_DMA
196 bool
197 depends on CPU_S3C2412
198 help
199 Internal config node for S3C2412 DMA support
200
195config CPU_S3C2412 201config CPU_S3C2412
196 bool 202 bool
197 depends on ARCH_S3C2410 203 depends on ARCH_S3C2410
198 select S3C2412_PM if PM 204 select S3C2412_PM if PM
205 select S3C2412_DMA if S3C2410_DMA
199 help 206 help
200 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line 207 Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line
201 208
@@ -205,11 +212,18 @@ config CPU_S3C244X
205 help 212 help
206 Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems. 213 Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
207 214
215config S3C2440_DMA
216 bool
217 depends on ARCH_S3C2410 && CPU_S3C24405B
218 help
219 Support for S3C2440 specific DMA code5A
220
208config CPU_S3C2440 221config CPU_S3C2440
209 bool 222 bool
210 depends on ARCH_S3C2410 223 depends on ARCH_S3C2410
211 select S3C2410_CLOCK 224 select S3C2410_CLOCK
212 select S3C2410_PM if PM 225 select S3C2410_PM if PM
226 select S3C2440_DMA if S3C2410_DMA
213 select CPU_S3C244X 227 select CPU_S3C244X
214 help 228 help
215 Support for S3C2440 Samsung Mobile CPU based systems. 229 Support for S3C2440 Samsung Mobile CPU based systems.
@@ -272,7 +286,6 @@ config S3C2410_DMA_DEBUG
272 amount of time, as well as using an significant percentage of 286 amount of time, as well as using an significant percentage of
273 the CPU time doing so. 287 the CPU time doing so.
274 288
275
276config S3C2410_PM_DEBUG 289config S3C2410_PM_DEBUG
277 bool "S3C2410 PM Suspend debug" 290 bool "S3C2410 PM Suspend debug"
278 depends on ARCH_S3C2410 && PM 291 depends on ARCH_S3C2410 && PM
diff --git a/arch/arm/mach-s3c2410/Makefile b/arch/arm/mach-s3c2410/Makefile
index 27663e28cc88..85ffa1274b0b 100644
--- a/arch/arm/mach-s3c2410/Makefile
+++ b/arch/arm/mach-s3c2410/Makefile
@@ -9,8 +9,6 @@ obj-y := cpu.o irq.o time.o gpio.o clock.o devs.o
9obj-m := 9obj-m :=
10obj-n := 10obj-n :=
11obj- := 11obj- :=
12obj-dma-y :=
13obj-dma-n :=
14 12
15# DMA 13# DMA
16obj-$(CONFIG_S3C2410_DMA) += dma.o 14obj-$(CONFIG_S3C2410_DMA) += dma.o
@@ -37,9 +35,9 @@ obj-$(CONFIG_PM_H1940) += pm-h1940.o
37obj-$(CONFIG_CPU_S3C2412) += s3c2412.o 35obj-$(CONFIG_CPU_S3C2412) += s3c2412.o
38obj-$(CONFIG_CPU_S3C2412) += s3c2412-irq.o 36obj-$(CONFIG_CPU_S3C2412) += s3c2412-irq.o
39obj-$(CONFIG_CPU_S3C2412) += s3c2412-clock.o 37obj-$(CONFIG_CPU_S3C2412) += s3c2412-clock.o
40obj-dma-$(CONFIG_CPU_S3C2412) += s3c2412-dma.o
41 38
42obj-$(CONFIG_S3C2412_PM) += s3c2412-pm.o 39obj-$(CONFIG_S3C2412_PM) += s3c2412-pm.o
40obj-$(CONFIG_S3C2412_DMA) += s3c2412-dma.o
43 41
44# 42#
45# S3C244X support 43# S3C244X support
@@ -57,7 +55,7 @@ obj-$(CONFIG_CPU_S3C2440) += s3c2440.o s3c2440-dsc.o
57obj-$(CONFIG_CPU_S3C2440) += s3c2440-irq.o 55obj-$(CONFIG_CPU_S3C2440) += s3c2440-irq.o
58obj-$(CONFIG_CPU_S3C2440) += s3c2440-clock.o 56obj-$(CONFIG_CPU_S3C2440) += s3c2440-clock.o
59obj-$(CONFIG_CPU_S3C2440) += s3c2410-gpio.o 57obj-$(CONFIG_CPU_S3C2440) += s3c2410-gpio.o
60obj-dma-$(CONFIG_CPU_S3C2440) += s3c2440-dma.o 58obj-$(CONFIG_S3C2440_DMA) += s3c2440-dma.o
61 59
62# S3C2442 support 60# S3C2442 support
63 61
@@ -68,10 +66,6 @@ obj-$(CONFIG_CPU_S3C2442) += s3c2442-clock.o
68 66
69obj-$(CONFIG_BAST_PC104_IRQ) += bast-irq.o 67obj-$(CONFIG_BAST_PC104_IRQ) += bast-irq.o
70 68
71# merge in dma objects
72
73obj-y += $(obj-dma-y)
74
75# machine specific support 69# machine specific support
76 70
77obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o 71obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o