diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-06-13 06:04:39 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-06-17 11:09:37 -0400 |
commit | 27873b052e6e54eec606ed93f26be4b26d6e9d17 (patch) | |
tree | 2c70c1b7427bcca9dc3d062bcbd42339ada7a87c /arch/arm/plat-samsung | |
parent | 8c0945240e2449b47ba49754ee3e06ef4746226f (diff) |
ARM: samsung: make SAMSUNG_DMADEV optional
The only remaining driver using the samsung dmadev code is the broken
samsung-ac97 sound driver. However, as found by Russell's autobuilder,
the elaborate dependency chains around it cause problems with
circular dependencies.
This is an attempt to simplify those dependencies by making the
SAMSUNG_DMADEV option user-selectable. I also try to keep the
default settings for all related options unchanged, so we don't
introduce any regressions against earlier testing on linux-next.
In particular, all s3c64xx and s5p* platforms keep selecting the
pl330 and pl08x drivers they require, but the select statement
is now moved towards the main platform option, and it remains
optional by unselecting CONFIG_DMADEVICES.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 243dfcb2ca0e..91911e47a8a1 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -407,17 +407,16 @@ config SAMSUNG_PM_GPIO | |||
407 | Include legacy GPIO power management code for platforms not using | 407 | Include legacy GPIO power management code for platforms not using |
408 | pinctrl-samsung driver. | 408 | pinctrl-samsung driver. |
409 | 409 | ||
410 | endif | ||
411 | |||
412 | config SAMSUNG_DMADEV | 410 | config SAMSUNG_DMADEV |
413 | bool | 411 | bool "Use legacy Samsung DMA abstraction" |
414 | select ARM_AMBA | 412 | depends on CPU_S5PV210 || CPU_S5PC100 || ARCH_S5P64X0 || ARCH_S3C64XX |
415 | select DMADEVICES | 413 | select DMADEVICES |
416 | select PL330_DMA if (ARCH_EXYNOS5 || ARCH_EXYNOS4 || CPU_S5PV210 || CPU_S5PC100 || \ | 414 | default y |
417 | CPU_S5P6450 || CPU_S5P6440) | ||
418 | help | 415 | help |
419 | Use DMA device engine for PL330 DMAC. | 416 | Use DMA device engine for PL330 DMAC. |
420 | 417 | ||
418 | endif | ||
419 | |||
421 | config S5P_DEV_MFC | 420 | config S5P_DEV_MFC |
422 | bool | 421 | bool |
423 | help | 422 | help |