Skip to contentSkip to conversation

imx: ventana: update MMC env configuration

PATCH New Tim Harvey 1 participant 1 message May 21, 2015

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

PATCH 1/1 imx: ventana: update MMC env configuration

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

---
 include/configs/gw_ventana.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
include/configs/gw_ventana.h +3 -2
index 533cbc3..b424f48 100644
@@ -311,9 +311,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)
Signature · 1 line
1.9.1