aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBin Meng2015-03-11 17:22:28 +0800
committerSimon Glass2015-03-24 21:22:38 -0600
commitfba02d69c6fc7f7861ada6181ab6097d20495027 (patch)
tree01f2dd3546bff9186d56687bbd75e1272cad8b15 /include
parenta84134f72147bc31babba8006f8a9bdc55bc5a03 (diff)
x86: crownbay: Enable saving environment in SPI flash
Saving U-Boot's environment in SPI flash on Intel CrownBay board. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/crownbay.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h
index b1cfc8b0652..df32f2ac528 100644
--- a/include/configs/crownbay.h
+++ b/include/configs/crownbay.h
@@ -60,4 +60,12 @@
#undef CONFIG_VIDEO
#undef CONFIG_CFB_CONSOLE
+/* Environment configuration */
+#undef CONFIG_ENV_IS_NOWHERE
+#undef CONFIG_ENV_SIZE
+#define CONFIG_ENV_IS_IN_SPI_FLASH
+#define CONFIG_ENV_SIZE 0x1000
+#define CONFIG_ENV_SECT_SIZE 0x1000
+#define CONFIG_ENV_OFFSET 0
+
#endif /* __CONFIG_H */