]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: Store u-boot environment in flash.
authorBrian Hill <brian.hill@xilinx.com>
Fri, 16 Jul 2010 15:08:25 +0000 (09:08 -0600)
committerBrian Hill <brian.hill@xilinx.com>
Fri, 16 Jul 2010 15:08:25 +0000 (09:08 -0600)
include/configs/xpele.h

index cbbb6446fb6c587f617cce2a821cb55f5b67ce97..3295bca15a4616b04c7b877996a5ec2d0046ff74 100644 (file)
 
 #define CONFIG_SYS_FLASH_PROTECTION     0       /* use hardware protection           */
 #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE       /* use buffered writes (20x faster)  */
-#define CONFIG_ENV_ADDR                (CONFIG_SYS_FLASH_BASE + 0x00000000)
+//#define CONFIG_ENV_ADDR              (CONFIG_SYS_FLASH_BASE + 0x00000000)
+#define CONFIG_ENV_OFFSET              0xC0000         /*768 KB*/
 #define CONFIG_ENV_SECT_SIZE           0x20000         /*128 KB*/
-#define CONFIG_ENV_IS_NOWHERE  1
-//#define CONFIG_ENV_IS_IN_FLASH               1
+//#define CONFIG_ENV_IS_NOWHERE        1
+#define CONFIG_ENV_IS_IN_FLASH         1
 
 #else