arm: samsung: Move CONFIG_MISC_COMMON to Kconfig
This option controls using board/samsung/common/misc.c, so add a Kconfig
file there as well and select it from the boards which use this
functionality.
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 8410290..29e35e44 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -67,10 +67,12 @@
select SUPPORT_SPL
config TARGET_TRATS
+ select MISC_COMMON
bool "Exynos4210 Trats board"
config TARGET_S5PC210_UNIVERSAL
bool "EXYNOS4210 Universal C210 board"
+ select MISC_COMMON
config TARGET_ORIGEN
bool "Exynos4412 Origen board"
@@ -79,9 +81,11 @@
config TARGET_TRATS2
bool "Exynos4412 Trat2 board"
+ select MISC_COMMON
config TARGET_ODROID
bool "Exynos4412 Odroid board"
+ select MISC_COMMON
endchoice
endif
@@ -113,6 +117,7 @@
bool "Exynos5422 Odroid board"
select EXYNOS5_DT
select EXYNOS5420
+ select MISC_COMMON
select OF_CONTROL
config TARGET_ARNDALE