summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-03 18:28:23 -0600
committerSimon Glass <sjg@chromium.org>2015-07-14 18:03:19 -0600
commitd5359f2e4dd11d7a1e980beadff22a6e25578ad4 (patch)
treea8331f220dd50c7e3930160269a87c623340f6b4 /include
parent507879280750fc4af5e5fd0c4387147d286ff6f7 (diff)
downloadtalos-obmc-uboot-d5359f2e4dd11d7a1e980beadff22a6e25578ad4.tar.gz
talos-obmc-uboot-d5359f2e4dd11d7a1e980beadff22a6e25578ad4.zip
dm: spi: Enable environment for minnowmax
Enable a SPI environment and store it in a suitable place. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/minnowmax.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h
index 8ee84a604c..e0f6f8a35c 100644
--- a/include/configs/minnowmax.h
+++ b/include/configs/minnowmax.h
@@ -62,8 +62,7 @@
/* Avoid a warning in the Realtek Ethernet driver */
#define CONFIG_SYS_CACHELINE_SIZE 16
-/* Environment in SPI flash is unsupported for now */
-#undef CONFIG_ENV_IS_IN_SPI_FLASH
-#define CONFIG_ENV_IS_NOWHERE
+#define CONFIG_ENV_SECT_SIZE 0x1000
+#define CONFIG_ENV_OFFSET 0x007fe000
#endif /* __CONFIG_H */
OpenPOWER on IntegriCloud