diff options
author | Tomasz Figa <tomasz.figa@gmail.com> | 2013-10-16 15:10:54 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-24 09:38:24 -0500 |
commit | 1db0287ab186637488e51ae43109692624f2d5a3 (patch) | |
tree | 13a3fa95b54b8f9b1e56125a5d369cd3d9fb37c5 /arch/arm/mach-s3c64xx/Kconfig | |
parent | 1b49f10c69b45a8b169c69eaa127e7f91a32f7c7 (diff) |
ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver
This patch adds all required platform-specific data and initialization
code to support the generic amba-pl08x driver on S3C64xx SoCs.
Also some compatibility definitions are added to make the transition
from legacy API to DMA engine easier. The biggest hack here is passing
const char * pointers through DMA resource, casted to unsigned long,
but this is how Samsung DMA wrappers (used to support both s3c-dma and
DMA engine in drivers) are designed.
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/Kconfig')
-rw-r--r-- | arch/arm/mach-s3c64xx/Kconfig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c64xx/Kconfig b/arch/arm/mach-s3c64xx/Kconfig index 2cb8dc55b50e..d8e0288bf2bf 100644 --- a/arch/arm/mach-s3c64xx/Kconfig +++ b/arch/arm/mach-s3c64xx/Kconfig | |||
@@ -17,9 +17,15 @@ config CPU_S3C6410 | |||
17 | help | 17 | help |
18 | Enable S3C6410 CPU support | 18 | Enable S3C6410 CPU support |
19 | 19 | ||
20 | config S3C64XX_PL080 | ||
21 | bool "S3C64XX DMA using generic PL08x driver" | ||
22 | select AMBA_PL08X | ||
23 | select SAMSUNG_DMADEV | ||
24 | |||
20 | config S3C64XX_DMA | 25 | config S3C64XX_DMA |
21 | bool "S3C64XX DMA" | 26 | bool "S3C64XX DMA using legacy S3C DMA API" |
22 | select S3C_DMA | 27 | select S3C_DMA |
28 | depends on !S3C64XX_PL080 | ||
23 | 29 | ||
24 | config S3C64XX_SETUP_SDHCI | 30 | config S3C64XX_SETUP_SDHCI |
25 | bool | 31 | bool |