diff options
author | Bin Meng | 2015-03-11 17:22:28 +0800 |
---|---|---|
committer | Simon Glass | 2015-03-24 21:22:38 -0600 |
commit | fba02d69c6fc7f7861ada6181ab6097d20495027 (patch) | |
tree | 01f2dd3546bff9186d56687bbd75e1272cad8b15 | |
parent | a84134f72147bc31babba8006f8a9bdc55bc5a03 (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>
-rw-r--r-- | include/configs/crownbay.h | 8 |
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 */ |