]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
Adder8xx: Fix CFG_MONITOR_LEN
authorFrank Svendsbøe <frank.svendsboe@gmail.com>
Tue, 29 Jul 2008 12:49:31 +0000 (14:49 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Jul 2008 23:21:20 +0000 (01:21 +0200)
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.

Signed-off-by: Frank E. Svendsbøe <frank.svendsboe@gmail.com>
include/configs/Adder.h

index 7389c38b9e15aab1d808ac81bb24da7e35d825b0..cefdd29602d6b92d25865db1f49a977b2228081e 100644 (file)
 #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