Message ID | 1480617461-9893-2-git-send-email-breno.lima@nxp.com |
---|---|
State | Awaiting Upstream |
Delegated to: | Stefano Babic |
Headers | show |
On Thu, Dec 1, 2016 at 4:37 PM, Breno Lima <breno.lima@nxp.com> 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@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
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@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
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
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@nxp.com> --- arch/arm/cpu/armv7/mx6/Kconfig | 1 + configs/udoo_neo_defconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)