ARM: omap4_panda: enable saveenv command
PATCH 1/1 ARM: omap4_panda: enable saveenv command
Enable saveenv command and the configs to store environment persistently in the SD card.
Tested on OMAP4 Panda (OMAP4460 ES1.1)
Signed-off-by Maxin B. John <[email protected]>
--- include/configs/omap4_panda.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
include/configs/omap4_panda.h +6 -1
@@ -43,8 +43,13 @@#define CONFIG_CMD_GPIO /* ENV related config options */ -#define CONFIG_ENV_IS_NOWHERE #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG +#define CONFIG_ENV_IS_IN_FAT +#define FAT_ENV_INTERFACE "mmc" +#define FAT_ENV_DEVICE_AND_PART "0:1" +#define FAT_ENV_FILE "uboot.env" +#define CONFIG_CMD_SAVEENV +#define CONFIG_ENV_OVERWRITE #endif /* __CONFIG_PANDA_H */
Signature · 1 line
1.9.1
PATCH 1/1 ARM: omap4_panda: enable saveenv command
Quoted 4 lines · Maxin B. John
Enable saveenv command and the configs to store environment persistently in the SD card.
Tested on OMAP4 Panda (OMAP4460 ES1.1)
Looks good to me.
Acked-by Lokesh Vutla <[email protected]>
Thanks and regards,
Lokesh
Quoted 26 lines
Signed-off-by Maxin B. John <[email protected]>--- include/configs/omap4_panda.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)include/configs/omap4_panda.h +6
-1@@ -43,8 +43,13 @@#define CONFIG_CMD_GPIO /* ENV related config options */ -#define CONFIG_ENV_IS_NOWHERE #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG +#define CONFIG_ENV_IS_IN_FAT +#define FAT_ENV_INTERFACE "mmc" +#define FAT_ENV_DEVICE_AND_PART "0:1" +#define FAT_ENV_FILE "uboot.env" +#define CONFIG_CMD_SAVEENV +#define CONFIG_ENV_OVERWRITE #endif /* __CONFIG_PANDA_H */
Quoted 7 lines · maxin.john at enea.com
Enable saveenv command and the configs to store environment persistently in the SD card.
Tested on OMAP4 Panda (OMAP4460 ES1.1)
Signed-off-by Maxin B. John <[email protected]>Acked-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150328/a649474f/attachment.sig>