Skip to content

Commit 5ad1430

Browse files
Sachin Kamatkgene
Sachin Kamat
authored andcommitted
ARM: EXYNOS: Fix Kconfig dependencies for device tree enabled machine files
Add config dependency for Exynos4 and Exynos5 device tree enabled machine files on config options ARCH_EXYNOS4 and ARCH_EXYNOS5 respectively. Enabling machine support without proper ARCH support enabled is incorrect. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
1 parent 5262c54 commit 5ad1430

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/mach-exynos/Kconfig

+2
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ comment "Flattened Device Tree based board for EXYNOS SoCs"
368368

369369
config MACH_EXYNOS4_DT
370370
bool "Samsung Exynos4 Machine using device tree"
371+
depends on ARCH_EXYNOS4
371372
select CPU_EXYNOS4210
372373
select USE_OF
373374
select ARM_AMBA
@@ -380,6 +381,7 @@ config MACH_EXYNOS4_DT
380381

381382
config MACH_EXYNOS5_DT
382383
bool "SAMSUNG EXYNOS5 Machine using device tree"
384+
depends on ARCH_EXYNOS5
383385
select SOC_EXYNOS5250
384386
select USE_OF
385387
select ARM_AMBA

0 commit comments

Comments
 (0)