]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: crownbay: Enable saving environment in SPI flash
authorBin Meng <bmeng.cn@gmail.com>
Wed, 11 Mar 2015 09:22:28 +0000 (17:22 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 03:22:38 +0000 (21:22 -0600)
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>
include/configs/crownbay.h

index b1cfc8b0652cfae1ef8689ba2dbfe512ede0acc0..df32f2ac528df1b2e455c42182f080ee2fc4f18d 100644 (file)
 #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 */