]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: spi: Enable environment for minnowmax
authorSimon Glass <sjg@chromium.org>
Sat, 4 Jul 2015 00:28:23 +0000 (18:28 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:19 +0000 (18:03 -0600)
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>
include/configs/minnowmax.h

index 8ee84a604c0fbb9b6a60e3db203216462b18007f..e0f6f8a35c179803d7da9235ca440be6e8e1dcca 100644 (file)
@@ -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 */