summaryrefslogtreecommitdiff
path: root/arch/arm/plat-samsung/Kconfig
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-06-15 09:01:49 +0900
committerKukjin Kim <kgene.kim@samsung.com>2013-06-15 09:32:33 +0900
commitcd8dc7ae41f2b2e6392e32c8471589a8ca5fa705 (patch)
tree84552d9c237ff6cd07f48ada4edc270fe1379ccd /arch/arm/plat-samsung/Kconfig
parentf8b1ac01458a39454d04172df4c070134902f837 (diff)
ARM: SAMSUNG: Introduce SAMSUNG_ATAGS Kconfig entry
This patch adds a Kconfig entry that enables compilation of legacy support code required for Samsung platforms that require ATAGS based boot. This allows to bypass compilation of this code when platforms without ATAGS support are selected. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/Kconfig')
-rw-r--r--arch/arm/plat-samsung/Kconfig26
1 files changed, 21 insertions, 5 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
index f8ed2de0a678..c0f0542e6dfc 100644
--- a/arch/arm/plat-samsung/Kconfig
+++ b/arch/arm/plat-samsung/Kconfig
@@ -60,6 +60,20 @@ config S3C_LOWLEVEL_UART_PORT
this configuration should be between zero and two. The port
must have been initialised by the boot-loader before use.
+config SAMSUNG_ATAGS
+ def_bool n
+ depends on !ARCH_MULTIPLATFORM
+ depends on ATAGS
+ help
+ This option enables ATAGS based boot support code for
+ Samsung platforms, including static platform devices, legacy
+ clock, timer and interrupt initialization, etc.
+
+ Platforms that support only DT based boot need not to select
+ this option.
+
+if SAMSUNG_ATAGS
+
# timer options
config SAMSUNG_HRT
@@ -367,11 +381,6 @@ config S5P_DEV_JPEG
help
Compile in platform device definitions for JPEG codec
-config S5P_DEV_MFC
- bool
- help
- Compile in setup memory (init) code for MFC
-
config S5P_DEV_ONENAND
bool
help
@@ -412,6 +421,8 @@ config S3C_DMA
help
Internal configuration for S3C DMA core
+endif
+
config SAMSUNG_DMADEV
bool
select ARM_AMBA
@@ -421,6 +432,11 @@ config SAMSUNG_DMADEV
help
Use DMA device engine for PL330 DMAC.
+config S5P_DEV_MFC
+ bool
+ help
+ Compile in setup memory (init) code for MFC
+
comment "Power management"
config SAMSUNG_PM_DEBUG