* [U-Boot] [PATCH] ARM: omap4_panda: enable saveenv command
@ 2015-03-18 9:51 Maxin B. John
2015-03-23 4:24 ` Lokesh Vutla
2015-03-28 18:09 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Maxin B. John @ 2015-03-18 9:51 UTC (permalink / raw)
To: u-boot
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 <maxin.john@enea.com>
---
include/configs/omap4_panda.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index 7378acd..e97c5e3 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 */
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ARM: omap4_panda: enable saveenv command
2015-03-18 9:51 [U-Boot] [PATCH] ARM: omap4_panda: enable saveenv command Maxin B. John
@ 2015-03-23 4:24 ` Lokesh Vutla
2015-03-28 18:09 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Lokesh Vutla @ 2015-03-23 4:24 UTC (permalink / raw)
To: u-boot
On Wednesday 18 March 2015 03:21 PM, Maxin B. John wrote:
> 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 <lokeshvutla@ti.com>
Thanks and regards,
Lokesh
>
> Signed-off-by: Maxin B. John <maxin.john@enea.com>
> ---
> include/configs/omap4_panda.h | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
> index 7378acd..e97c5e3 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 */
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] ARM: omap4_panda: enable saveenv command
2015-03-18 9:51 [U-Boot] [PATCH] ARM: omap4_panda: enable saveenv command Maxin B. John
2015-03-23 4:24 ` Lokesh Vutla
@ 2015-03-28 18:09 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2015-03-28 18:09 UTC (permalink / raw)
To: u-boot
On Wed, Mar 18, 2015 at 10:51:47AM +0100, maxin.john at enea.com wrote:
> 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 <maxin.john@enea.com>
> Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
Applied to u-boot/master, thanks!
--
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-28 18:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-18 9:51 [U-Boot] [PATCH] ARM: omap4_panda: enable saveenv command Maxin B. John
2015-03-23 4:24 ` Lokesh Vutla
2015-03-28 18:09 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox