[U-Boot] [PATCH 1/6 v2] 82xx, mgcoge: fix environment sector size

Wolfgang Denk wd at denx.de
Wed Mar 18 20:48:33 CET 2009


Dear Heiko Schocher,

In message <49B8AD97.906 at denx.de> you wrote:
> Size of one environment sector is 0x20000.
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>
> ---
>  include/configs/mgcoge.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h
> index 79c7050..8f3a420 100644
> --- a/include/configs/mgcoge.h
> +++ b/include/configs/mgcoge.h
> @@ -145,7 +145,7 @@
>  #define CONFIG_ENV_IS_IN_FLASH
> 
>  #ifdef CONFIG_ENV_IS_IN_FLASH
> -#define CONFIG_ENV_SECT_SIZE	0x4000
> +#define CONFIG_ENV_SECT_SIZE	0x20000
>  #define CONFIG_ENV_ADDR		(CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
>  #define CONFIG_ENV_OFFSET	CONFIG_SYS_MONITOR_LEN

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Anything free is worth what you pay for it.


More information about the U-Boot mailing list