From: Nikita Kiryanov Date: Thu, 23 Jul 2015 14:19:33 +0000 (+0300) Subject: arm: mx6: cm-fx6: move cm-fx6 target under ARCH_MX6 X-Git-Tag: v2015.10-rc1~2^2~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=81f5598b2d8b0d3875b02aee26b12c454fa2c30e;p=u-boot arm: mx6: cm-fx6: move cm-fx6 target under ARCH_MX6 cm-fx6 is an MX6 based board, and the menuconfig hierarchy should reflect that. Make TARGET_CM_FX6 dependant on ARCH_MX6. Cc: Stefano Babic Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov Acked-by: Igor Grinberg --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 506463c12c..fc8c435bbb 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -625,14 +625,6 @@ config RMOBILE bool "Renesas ARM SoCs" select CPU_V7 -config TARGET_CM_FX6 - bool "Support cm_fx6" - select CPU_V7 - select SUPPORT_SPL - select DM - select DM_SERIAL - select DM_GPIO - config ARCH_SOCFPGA bool "Altera SOCFPGA family" select CPU_V7 diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig index 10908c4c4a..2c18bcd7a2 100644 --- a/arch/arm/cpu/armv7/mx6/Kconfig +++ b/arch/arm/cpu/armv7/mx6/Kconfig @@ -29,6 +29,14 @@ choice prompt "MX6 board select" optional +config TARGET_CM_FX6 + bool "Support CM-FX6" + select CPU_V7 + select SUPPORT_SPL + select DM + select DM_SERIAL + select DM_GPIO + config TARGET_SECOMX6 bool "Support secomx6 boards" select CPU_V7 diff --git a/configs/cm_fx6_defconfig b/configs/cm_fx6_defconfig index 25829dbf45..7ad5c21783 100644 --- a/configs/cm_fx6_defconfig +++ b/configs/cm_fx6_defconfig @@ -1,4 +1,5 @@ CONFIG_ARM=y +CONFIG_ARCH_MX6=y CONFIG_TARGET_CM_FX6=y CONFIG_SPL=y CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL,SPL"