[U-Boot] [PATCH v2 1/3] mx28evk: Remove extra CONFIG_ENV_SIZE

Stefano Babic sbabic at denx.de
Wed May 28 17:34:36 CEST 2014


Hi Fabio,

On 09/05/2014 01:35, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> When building a target with CONFIG_ENV_IS_IN_SPI_FLASH the following build
> warning is seen:
> 
> include/configs/mx28evk.h:73:0: warning: "CONFIG_ENV_SIZE" redefined [enabled by default]
> 
> Each target has its own CONFIG_ENV_SIZE definition, so remove the one that
> does not belong to any target.
> 
> While at it, fix a typo.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---

Sorry for the noise. I have not applied it. In fact, this breaks the
other mx28evk setup.

./MAKEALL mx28evk_nand
Configuring for mx28evk_nand - Board: mx28evk, Options: ENV_IS_IN_NAND
include/environment.h:85:4: error: #error "Need to define
CONFIG_ENV_SIZE when using CONFIG_ENV_IS_IN_NAND"
include/environment.h:85:4: error: #error "Need to define
CONFIG_ENV_SIZE when using CONFIG_ENV_IS_IN_NAND"
include/environment.h:85:4: error: #error "Need to define
CONFIG_ENV_SIZE when using CONFIG_ENV_IS_IN_NAND"

The only one without errors is the SPI version.

Can you take a look at it ?

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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