]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: No config environment in NOR flash for silicon.
authorAndrei Simion <andreis@xilinx.com>
Wed, 16 Nov 2011 00:48:15 +0000 (16:48 -0800)
committerJohn Linn <john.linn@xilinx.com>
Wed, 16 Nov 2011 18:10:32 +0000 (10:10 -0800)
U-boot's configuration environment will reside in NOR flash only if
CONFIG_EP107 is defined.

include/configs/xpele.h

index 525b26532cd22521caa2c549046b6c5f166914ee..3f3d33407b5c3b3cad93e8de6a331f9ee5755996 100644 (file)
 //#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
-
+#ifdef CONFIG_EP107
+# define CONFIG_ENV_IS_IN_FLASH                1
+#else
+# define CONFIG_ENV_IS_NOWHERE         1
+#endif
 #else
 
 #define CONFIG_ENV_IS_NOWHERE  1