Commit fba02d69c6fc7f7861ada6181ab6097d20495027
Committed by
Simon Glass
1 parent
a84134f721
Exists in
v2017.01-smarct4x
and in
37 other branches
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>
Showing 1 changed file with 8 additions and 0 deletions Side-by-side Diff
include/configs/crownbay.h
... | ... | @@ -60,5 +60,13 @@ |
60 | 60 | #undef CONFIG_VIDEO |
61 | 61 | #undef CONFIG_CFB_CONSOLE |
62 | 62 | |
63 | +/* Environment configuration */ | |
64 | +#undef CONFIG_ENV_IS_NOWHERE | |
65 | +#undef CONFIG_ENV_SIZE | |
66 | +#define CONFIG_ENV_IS_IN_SPI_FLASH | |
67 | +#define CONFIG_ENV_SIZE 0x1000 | |
68 | +#define CONFIG_ENV_SECT_SIZE 0x1000 | |
69 | +#define CONFIG_ENV_OFFSET 0 | |
70 | + | |
63 | 71 | #endif /* __CONFIG_H */ |