[U-Boot] [v2 1/6] stv0991: enable saving enrironment in spi flash
Vikas Manocha
vikas.manocha at st.com
Thu Jun 25 01:06:12 CEST 2015
Signed-off-by: Vikas Manocha <vikas.manocha at st.com>
---
Changed in v2: None
include/configs/stv0991.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h
index d8f51d8..fe5b2fe 100644
--- a/include/configs/stv0991.h
+++ b/include/configs/stv0991.h
@@ -23,7 +23,9 @@
#define PHYS_SDRAM_1_SIZE 0x00198000
#define CONFIG_ENV_SIZE 0x10000
-#define CONFIG_ENV_IS_IN_FLASH
+#define CONFIG_ENV_IS_IN_SPI_FLASH
+#define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE
+#define CONFIG_ENV_OFFSET 0x30000
#define CONFIG_ENV_ADDR \
(PHYS_SDRAM_1_SIZE - CONFIG_ENV_SIZE)
#define CONFIG_SYS_MAXARGS 16
@@ -62,7 +64,6 @@
#define CONFIG_PHY_RESET_DELAY 10000 /* in usec */
#include "config_cmd_default.h"
-#undef CONFIG_CMD_SAVEENV
#define CONFIG_SYS_MEMTEST_START 0x0000
#define CONFIG_SYS_MEMTEST_END 1024*1024
--
1.7.9.5
More information about the U-Boot
mailing list