Skip to contentSkip to conversation

82xx, mgcoge: fix environment sector size

PATCH New Heiko Schocher 2 participants 2 messages Mar 12, 2009 – Mar 18, 2009

v2 of 3 New Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/6 82xx, mgcoge: fix environment sector size

Size of one environment sector is 0x20000.

---
 include/configs/mgcoge.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/mgcoge.h +1 -1
index 79c7050..8f3a420 100644
@@ -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
 
Signature · 5 lines
1.6.0.6

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

PATCH v2 1/6 82xx, mgcoge: fix environment sector size

Dear Heiko Schocher,

Quoted 12 lines · In message <[email protected]> you wrote:

Size of one environment sector is 0x20000.

---
 include/configs/mgcoge.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/mgcoge.h +0 -0
index 79c7050..8f3a420 100644

include/configs/mgcoge.h line 150

Quoted 7 lines
include/configs/mgcoge.h +1 -1
@@ -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

Signature · 4 lines
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.