Hi Marek, On Sun, Jan 1, 2012 at 2:28 AM, Marek Vasut <marek.va...@gmail.com> wrote: > Signed-off-by: Marek Vasut <marek.va...@gmail.com> > Cc: Wolfgang Denk <w...@denx.de> > Cc: Stefano Babic <sba...@denx.de> > --- > include/configs/m28evk.h | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h > index 39c841f..dcea878 100644 > --- a/include/configs/m28evk.h > +++ b/include/configs/m28evk.h > @@ -140,6 +140,7 @@ > /* > * NAND > */ > +#define CONFIG_ENV_SIZE (16 * 1024) > #ifdef CONFIG_CMD_NAND > #define CONFIG_NAND_MXS > #define CONFIG_APBH_DMA > @@ -150,7 +151,6 @@ > > /* Environment is in NAND */ > #define CONFIG_ENV_IS_IN_NAND > -#define CONFIG_ENV_SIZE (16 * 1024) > #define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE > #define CONFIG_ENV_SECT_SIZE (128 * 1024) > #define CONFIG_ENV_RANGE (512 * 1024) > @@ -173,6 +173,8 @@ > "512k(redundant-environment)," \ > "4m(kernel)," \ > "-(filesystem)" > +#else > +#define CONFIG_ENV_IS_NOWHERE
Couldn't you use CONFIG_ENV_IS_IN_MMC instead of CONFIG_ENV_IS_NOWHERE here? Regards, Fabio Estevam _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot