]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
MIPS: qemu_mips: move env storage just after u-boot
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Tue, 16 Dec 2008 21:10:30 +0000 (22:10 +0100)
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Wed, 17 Dec 2008 13:27:27 +0000 (22:27 +0900)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
include/configs/qemu-mips.h

index f028d1ac63a87a91eaeca5fd893a9099911be7a4..844446205b9b550de989eacd15514e1bd8bcc183 100644 (file)
 #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE      1
 
 #define CONFIG_ENV_IS_IN_FLASH 1
-#define CONFIG_ENV_ADDR                (CONFIG_SYS_FLASH_BASE + 0x40000)
+#define CONFIG_ENV_ADDR                (CONFIG_SYS_FLASH_BASE + CONFIG_SYS_MONITOR_LEN)
 
 /* Address and size of Primary Environment Sector */
 #define CONFIG_ENV_SIZE                0x8000