diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-03-11 17:22:28 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-03-24 21:22:38 -0600 |
commit | fba02d69c6fc7f7861ada6181ab6097d20495027 (patch) | |
tree | 01f2dd3546bff9186d56687bbd75e1272cad8b15 /include | |
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>
Diffstat (limited to 'include')
-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 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 */ |