diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-03-11 17:22:29 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-03-24 21:22:38 -0600 |
commit | bea59393c88ba86f6433f8c277478f312ff0acf3 (patch) | |
tree | ba3aec3e3267735cde1c3b74f78533fe68a5cdef /include/configs/galileo.h | |
parent | fba02d69c6fc7f7861ada6181ab6097d20495027 (diff) | |
download | u-boot-imx-bea59393c88ba86f6433f8c277478f312ff0acf3.zip u-boot-imx-bea59393c88ba86f6433f8c277478f312ff0acf3.tar.gz u-boot-imx-bea59393c88ba86f6433f8c277478f312ff0acf3.tar.bz2 |
x86: galileo: Enable saving environment in SPI flash
Saving U-Boot's environment in SPI flash on Intel Galileo board.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sg@chromium.org>
Diffstat (limited to 'include/configs/galileo.h')
-rw-r--r-- | include/configs/galileo.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/galileo.h b/include/configs/galileo.h index 65a2c3e..288acf3 100644 --- a/include/configs/galileo.h +++ b/include/configs/galileo.h @@ -62,4 +62,12 @@ #define CONFIG_DW_ALTDESCRIPTOR #define CONFIG_PHYLIB +/* 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 */ |