From: maxin.john@enea.com Date: Wed, 18 Mar 2015 09:51:47 +0000 (+0100) Subject: ARM: omap4_panda: enable saveenv command X-Git-Tag: v2015.04-rc5~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3b6e4841225c60aa1bd0212754ba0edc1822393d;p=u-boot 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 Acked-by: Lokesh Vutla --- diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h index 7378acdb21..e97c5e30da 100644 --- a/include/configs/omap4_panda.h +++ b/include/configs/omap4_panda.h @@ -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 */