Skip to contentSkip to conversation

Adder8xx: Fix CFG_MONITOR_LEN

PATCH New Frank Svendsbøe 1 participant 1 message Jul 29, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Adder8xx: Fix CFG_MONITOR_LEN

Due to increased space usage, U-Boot can no longer be stored in three sectors. The current U-Boot use just over three flash sectors (197k), and U-Boot will become corrupt after saving environment variables. This patch adds another 64k to CFG_MONITOR_LEN.

---
 include/configs/Adder.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/configs/Adder.h +1 -1
index 7389c38..cefdd29 100644
@@ -131,7 +131,7 @@
 #define CFG_BOOTMAPSZ		(8 << 20)	/* Initial Memory map for Linux */
 
 #define CFG_MONITOR_BASE	TEXT_BASE
-#define CFG_MONITOR_LEN		(192 << 10)	/* Reserve 192 KB for Monitor   */
+#define CFG_MONITOR_LEN		(256 << 10)	/* Reserve 256 KB for Monitor   */
 #ifdef CONFIG_BZIP2
 #define CFG_MALLOC_LEN		(2500 << 10)	/* Reserve ~2.5 MB for malloc() */
 #else
Signature · 1 line
1.5.6.3