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

Heiko Schocher hs at denx.de
Thu Mar 12 07:37:11 CET 2009


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

-- 
1.6.0.6

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list