]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/MPC8360ERDK.h
mpc83xx: MPC8360ERDK: fix environment offset configuration bug
[karo-tx-uboot.git] / include / configs / MPC8360ERDK.h
index f7ebdaad7282c169f9e3da78bdaae288f35ac267..477a1c5821f628731719465568fe4bed1fa1bab8 100644 (file)
 #undef CONFIG_SYS_RAMBOOT
 #endif
 
-#define CONFIG_SYS_MONITOR_LEN         (256 * 1024) /* Reserve 256 kB for Mon */
+#define CONFIG_SYS_MONITOR_LEN         (384 * 1024) /* Reserve 384 kB for Mon */
 #define CONFIG_SYS_MALLOC_LEN          (128 * 1024) /* Reserved for malloc */
 
 /*
 
 #ifndef CONFIG_SYS_RAMBOOT
 #define CONFIG_ENV_IS_IN_FLASH 1
-#define CONFIG_ENV_ADDR                (CONFIG_SYS_MONITOR_BASE + 0x40000)
+#define CONFIG_ENV_ADDR                (CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
 #define CONFIG_ENV_SECT_SIZE   0x20000 /* 128K(one sector) for env */
 #define CONFIG_ENV_SIZE                0x20000
 #else /* CONFIG_SYS_RAMBOOT */