[U-Boot] [PATCH 1/3] stv0991: enable saving enrironment in spi flash
Vikas Manocha
vikas.manocha at st.com
Tue Jun 9 02:47:09 CEST 2015
Signed-off-by: Vikas Manocha <vikas.manocha at st.com>
---
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 4138b32..ea62f43 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
@@ -63,7 +65,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