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/riotboard_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/riotboard_defconfig') diff --git a/configs/riotboard_defconfig b/configs/riotboard_defconfig index fd18e2de95..859b14323e 100644 --- a/configs/riotboard_defconfig +++ b/configs/riotboard_defconfig @@ -1,4 +1,5 @@ CONFIG_ARM=y +CONFIG_ARCH_MX6=y CONFIG_TARGET_EMBESTMX6BOARDS=y CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6s1g.cfg,MX6S,DDR_MB=1024,ENV_IS_IN_MMC" # CONFIG_CMD_IMLS is not set -- cgit v1.2.1