From: Ajay Bhargav <[ajay.bhargav@einfochips.com]> Date: Mon, 3 Oct 2011 08:30:58 +0000 (+0530) Subject: Armada100: Add env storage support for Marvell gplugD X-Git-Tag: v2011.12-rc1~343^2~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b5de038f159541404d89c358a4d77211b715f0f3;p=u-boot 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 --- diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h index 35ecdb535d..24bf7675d6 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 */