diff options
-rw-r--r-- | arch/arm/mach-s3c2410/Kconfig | 15 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/Makefile | 10 |
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 | ||
195 | config S3C2412_DMA | ||
196 | bool | ||
197 | depends on CPU_S3C2412 | ||
198 | help | ||
199 | Internal config node for S3C2412 DMA support | ||
200 | |||
195 | config CPU_S3C2412 | 201 | config 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 | ||
215 | config S3C2440_DMA | ||
216 | bool | ||
217 | depends on ARCH_S3C2410 && CPU_S3C24405B | ||
218 | help | ||
219 | Support for S3C2440 specific DMA code5A | ||
220 | |||
208 | config CPU_S3C2440 | 221 | config 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 | |||
276 | config S3C2410_PM_DEBUG | 289 | config 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 | |||
9 | obj-m := | 9 | obj-m := |
10 | obj-n := | 10 | obj-n := |
11 | obj- := | 11 | obj- := |
12 | obj-dma-y := | ||
13 | obj-dma-n := | ||
14 | 12 | ||
15 | # DMA | 13 | # DMA |
16 | obj-$(CONFIG_S3C2410_DMA) += dma.o | 14 | obj-$(CONFIG_S3C2410_DMA) += dma.o |
@@ -37,9 +35,9 @@ obj-$(CONFIG_PM_H1940) += pm-h1940.o | |||
37 | obj-$(CONFIG_CPU_S3C2412) += s3c2412.o | 35 | obj-$(CONFIG_CPU_S3C2412) += s3c2412.o |
38 | obj-$(CONFIG_CPU_S3C2412) += s3c2412-irq.o | 36 | obj-$(CONFIG_CPU_S3C2412) += s3c2412-irq.o |
39 | obj-$(CONFIG_CPU_S3C2412) += s3c2412-clock.o | 37 | obj-$(CONFIG_CPU_S3C2412) += s3c2412-clock.o |
40 | obj-dma-$(CONFIG_CPU_S3C2412) += s3c2412-dma.o | ||
41 | 38 | ||
42 | obj-$(CONFIG_S3C2412_PM) += s3c2412-pm.o | 39 | obj-$(CONFIG_S3C2412_PM) += s3c2412-pm.o |
40 | obj-$(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 | |||
57 | obj-$(CONFIG_CPU_S3C2440) += s3c2440-irq.o | 55 | obj-$(CONFIG_CPU_S3C2440) += s3c2440-irq.o |
58 | obj-$(CONFIG_CPU_S3C2440) += s3c2440-clock.o | 56 | obj-$(CONFIG_CPU_S3C2440) += s3c2440-clock.o |
59 | obj-$(CONFIG_CPU_S3C2440) += s3c2410-gpio.o | 57 | obj-$(CONFIG_CPU_S3C2440) += s3c2410-gpio.o |
60 | obj-dma-$(CONFIG_CPU_S3C2440) += s3c2440-dma.o | 58 | obj-$(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 | ||
69 | obj-$(CONFIG_BAST_PC104_IRQ) += bast-irq.o | 67 | obj-$(CONFIG_BAST_PC104_IRQ) += bast-irq.o |
70 | 68 | ||
71 | # merge in dma objects | ||
72 | |||
73 | obj-y += $(obj-dma-y) | ||
74 | |||
75 | # machine specific support | 69 | # machine specific support |
76 | 70 | ||
77 | obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o | 71 | obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o |