|
@@ -127,7 +127,9 @@
|
|
|
#endif
|
|
|
|
|
|
/* Total Size of Environment Sector */
|
|
|
-#define CONFIG_ENV_SIZE (128 << 10)
|
|
|
+#ifndef CONFIG_ENV_SIZE
|
|
|
+# define CONFIG_ENV_SIZE (128 << 10)
|
|
|
+#endif
|
|
|
|
|
|
/* Allow to overwrite serial and ethaddr */
|
|
|
#define CONFIG_ENV_OVERWRITE
|
|
@@ -135,7 +137,9 @@
|
|
|
/* Environment */
|
|
|
#ifndef CONFIG_ENV_IS_NOWHERE
|
|
|
# define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE
|
|
|
-# define CONFIG_ENV_OFFSET 0xE0000
|
|
|
+# ifndef CONFIG_ENV_OFFSET
|
|
|
+# define CONFIG_ENV_OFFSET 0xE0000
|
|
|
+# endif
|
|
|
#endif
|
|
|
|
|
|
/* enable preboot to be loaded before CONFIG_BOOTDELAY */
|