Patchwork [U-Boot,2/2] omap5_uevm: Enable redudnant MMC environment

login
register
mail settings
Submitter Tom Rini
Date April 30, 2013, 8:05 p.m.
Message ID <1367352318-11708-2-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/240685/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - April 30, 2013, 8:05 p.m.
Cc: Sricharan R <r.sricharan@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/omap5_uevm.h |    2 ++
 1 file changed, 2 insertions(+)
Nishanth Menon - April 30, 2013, 8:22 p.m.
nit:
$subject: s/redudnant/redundant/
On 16:05-20130430, Tom Rini wrote:
> Cc: Sricharan R <r.sricharan@ti.com>
> Signed-off-by: Tom Rini <trini@ti.com>
> ---
>  include/configs/omap5_uevm.h |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/configs/omap5_uevm.h b/include/configs/omap5_uevm.h
> index 240fdfc..550cabd 100644
> --- a/include/configs/omap5_uevm.h
> +++ b/include/configs/omap5_uevm.h
> @@ -44,6 +44,8 @@
>  #define CONFIG_ENV_IS_IN_MMC
>  #define CONFIG_SYS_MMC_ENV_DEV		1	/* SLOT2: eMMC(1) */
>  #define CONFIG_ENV_OFFSET		0xE0000
> +#define CONFIG_ENV_OFFSET_REDUND	(CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
> +#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
>  #define CONFIG_CMD_SAVEENV
>  
>  /* Enhance our eMMC support / experience. */
> -- 
> 1.7.9.5
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

Patch

diff --git a/include/configs/omap5_uevm.h b/include/configs/omap5_uevm.h
index 240fdfc..550cabd 100644
--- a/include/configs/omap5_uevm.h
+++ b/include/configs/omap5_uevm.h
@@ -44,6 +44,8 @@ 
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV		1	/* SLOT2: eMMC(1) */
 #define CONFIG_ENV_OFFSET		0xE0000
+#define CONFIG_ENV_OFFSET_REDUND	(CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
+#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
 #define CONFIG_CMD_SAVEENV
 
 /* Enhance our eMMC support / experience. */