aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVikas Manocha2015-07-02 18:29:37 -0700
committerJagan Teki2015-07-03 13:50:52 +0530
commit137d5b9137e0eb4f543311cd1cf4a84ad913b409 (patch)
tree38d8d3fea4fee3f7c6b67cd8f81209cd2870eee2 /include
parent891b487098ee2169a16b1bbb354aaef28aa90630 (diff)
stv0991: enable saving enrironment in spi flash
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> Reviewed-by: Jagannadh Teki <jteki@openedev.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/stv0991.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h
index 6379fd3ab7d..d498c1276ac 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