From: Tim Harvey <tharvey@gateworks.com>
Date: Thu, 21 May 2015 15:41:25 +0000 (-0700)
Subject: imx: ventana: update MMC env configuration
X-Git-Tag: v2025.01-rc5-pxa1908~12850^2~13
X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=0a9c2150508cb1560c9d4b2ddd22631d73a7f75d;p=u-boot.git

imx: ventana: update MMC env configuration

We will use the same env size and redundancy used for NAND env for MMC.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---

diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 7949b125de..64c88d4eef 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -327,9 +327,10 @@
 #define CONFIG_ENV_IS_IN_NAND
 #endif
 #if defined(CONFIG_ENV_IS_IN_MMC)
-  #define CONFIG_ENV_OFFSET              (384 * SZ_1K)
-  #define CONFIG_ENV_SIZE                (8 * SZ_1K)
   #define CONFIG_SYS_MMC_ENV_DEV         0
+  #define CONFIG_ENV_OFFSET              (709 * SZ_1K)
+  #define CONFIG_ENV_SIZE                (128 * SZ_1K)
+  #define CONFIG_ENV_OFFSET_REDUND       (CONFIG_ENV_OFFSET + (128 * SZ_1K))
 #elif defined(CONFIG_ENV_IS_IN_NAND)
   #define CONFIG_ENV_OFFSET              (16 * SZ_1M)
   #define CONFIG_ENV_SECT_SIZE           (128 * SZ_1K)