projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
qemu-arm: Add persistent environment support
[platform/kernel/u-boot.git]
/
include
/
configs
/
qemu-arm.h
diff --git
a/include/configs/qemu-arm.h
b/include/configs/qemu-arm.h
index
33dcce0
..
0431a79
100644
(file)
--- a/
include/configs/qemu-arm.h
+++ b/
include/configs/qemu-arm.h
@@
-21,7
+21,8
@@
#define CONFIG_SYS_HZ 1000
/* Environment options */
#define CONFIG_SYS_HZ 1000
/* Environment options */
-#define CONFIG_ENV_SIZE SZ_64K
+#define CONFIG_ENV_ADDR 0x4000000
+#define CONFIG_ENV_SIZE SZ_256K
#define BOOT_TARGET_DEVICES(func) \
func(SCSI, scsi, 0) \
#define BOOT_TARGET_DEVICES(func) \
func(SCSI, scsi, 0) \
@@
-43,4
+44,9
@@
#define CONFIG_SYS_CBSIZE 512
#define CONFIG_SYS_CBSIZE 512
+#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
+#define CONFIG_SYS_FLASH_BASE 0x0
+#define CONFIG_SYS_MAX_FLASH_BANKS 2
+#define CONFIG_SYS_MAX_FLASH_SECT 256 /* Sector: 256K, Bank: 64M */
+
#endif /* __CONFIG_H */
#endif /* __CONFIG_H */