diff options
author | Ajay Bhargav <[ajay.bhargav@einfochips.com]> | 2011-10-03 14:00:58 +0530 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-10-27 21:56:33 +0200 |
commit | b5de038f159541404d89c358a4d77211b715f0f3 (patch) | |
tree | d1b112e99dfb71dd8eb367d1fd9580c9a0957e8a /include/configs | |
parent | 2f83cd57b67504f0c254f31862dfcc9baf791a3a (diff) | |
download | u-boot-imx-b5de038f159541404d89c358a4d77211b715f0f3.zip u-boot-imx-b5de038f159541404d89c358a4d77211b715f0f3.tar.gz u-boot-imx-b5de038f159541404d89c358a4d77211b715f0f3.tar.bz2 |
Armada100: Add env storage support for Marvell gplugD
This patch adds support for envrionment varaible storage in SPI flash
for Marvell gplugD.
Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/gplugd.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h index 35ecdb5..24bf767 100644 --- a/include/configs/gplugd.h +++ b/include/configs/gplugd.h @@ -115,7 +115,13 @@ /* * Environment variables configurations */ -#define CONFIG_ENV_IS_NOWHERE 1 /* if env in SDRAM */ -#define CONFIG_ENV_SIZE 0x20000 /* 64k */ +#define CONFIG_ENV_IS_IN_SPI_FLASH +#define CONFIG_ENV_SECT_SIZE 0x4000 +#define CONFIG_ENV_SIZE 0x4000 +#define CONFIG_ENV_OFFSET 0x07C000 + +#define CONFIG_CMD_ASKENV +#define CONFIG_CMD_EDITENV +#define CONFIG_CMD_SAVEENV #endif /* __CONFIG_GPLUGD_H */ |