From 21782828f9c4f504d621a7255a7f2786a54093cf Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Fri, 7 Aug 2015 20:35:24 +0800 Subject: imx: mx6 move TARGET_xx Kconfig option to mx6 specific Kconfig file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move TARGET_xx Kconfig option based on mx6 to arch/arm/cpu/armv7/mx6/Kconfig. Add enable "CONFIG_ARCH_MX6" for boards based on mx6. Then we can choose target boards using "make ARCH=arm menuconfig" with ARCH_MX6 defined. If using original way, we have no chance to enable ARCH_MX6 when "make menuconfig". Even define CONFIG_ARCH_MX6=y in xx_defconfig, kconfig will complains "arch/../configs/platinum_titanium_defconfig:3: warning: override: TARGET_PLATINUM_TITANIUM changes choice state" Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Heiko Schocher Cc: Tim Harvey Cc: Eric BĂ©nard Cc: Fabio Estevam Cc: Eric Nelson Cc: Marek Vasut Cc: Christian Gmeiner Cc: Stefan Roese Cc: Soeren Moch Cc: Otavio Salvador Acked-by: Stefano Babic Acked-by: Soeren Moch Acked-by: Otavio Salvador Acked-by: Christian Gmeiner --- configs/mx6qsabreauto_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/mx6qsabreauto_defconfig') diff --git a/configs/mx6qsabreauto_defconfig b/configs/mx6qsabreauto_defconfig index 9343bcc..11ded40 100644 --- a/configs/mx6qsabreauto_defconfig +++ b/configs/mx6qsabreauto_defconfig @@ -1,4 +1,5 @@ CONFIG_ARM=y +CONFIG_ARCH_MX6=y CONFIG_TARGET_MX6QSABREAUTO=y CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg,MX6Q" # CONFIG_CMD_IMLS is not set -- cgit v1.1