From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 28 May 2014 17:34:36 +0200 Subject: [U-Boot] [PATCH v2 1/3] mx28evk: Remove extra CONFIG_ENV_SIZE In-Reply-To: <1399592136-24497-1-git-send-email-festevam@gmail.com> References: <1399592136-24497-1-git-send-email-festevam@gmail.com> Message-ID: <5386020C.1040102@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio, On 09/05/2014 01:35, Fabio Estevam wrote: > From: Fabio Estevam > > 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 > --- 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 =====================================================================