From: Bin Meng Date: Wed, 11 Mar 2015 09:22:28 +0000 (+0800) Subject: x86: crownbay: Enable saving environment in SPI flash X-Git-Tag: v2015.04-rc5~53^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fba02d69c6fc7f7861ada6181ab6097d20495027;p=u-boot 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 Acked-by: Simon Glass --- diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h index b1cfc8b065..df32f2ac52 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 */