[U-Boot] [PATCH 2/6] udoo_neo: Move MX6SX configuration to Kconfig

Stefano Babic sbabic at denx.de
Fri Dec 16 10:12:58 CET 2016


On 01/12/2016 19:37, Breno Lima wrote:
> It's not necessary to define the processor in the defconfig file.
> 
> The preferred method to select the SoC is via Kconfig file.
> 
> Signed-off-by: Breno Lima <breno.lima at nxp.com>
> ---
>  arch/arm/cpu/armv7/mx6/Kconfig | 1 +
>  configs/udoo_neo_defconfig     | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
> index a81d944..091b522 100644
> --- a/arch/arm/cpu/armv7/mx6/Kconfig
> +++ b/arch/arm/cpu/armv7/mx6/Kconfig
> @@ -203,6 +203,7 @@ config TARGET_UDOO
>  config TARGET_UDOO_NEO
>  	bool "UDOO Neo"
>  	select SUPPORT_SPL
> +	select MX6SX
>  
>  config TARGET_WANDBOARD
>  	bool "wandboard"
> diff --git a/configs/udoo_neo_defconfig b/configs/udoo_neo_defconfig
> index 3304afb..f88820c 100644
> --- a/configs/udoo_neo_defconfig
> +++ b/configs/udoo_neo_defconfig
> @@ -11,7 +11,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
>  CONFIG_SPL_ENV_SUPPORT=y
>  CONFIG_SPL_WATCHDOG_SUPPORT=y
>  CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6SX"
> +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg"
>  CONFIG_HUSH_PARSER=y
>  CONFIG_CMD_BOOTZ=y
>  # CONFIG_CMD_IMLS is not set
> 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list