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>
This commit is contained in:
@@ -62,4 +62,12 @@
|
|||||||
#define CONFIG_DW_ALTDESCRIPTOR
|
#define CONFIG_DW_ALTDESCRIPTOR
|
||||||
#define CONFIG_PHYLIB
|
#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 */
|
#endif /* __CONFIG_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user