imx: ventana: update MMC env configuration
authorTim Harvey <tharvey@gateworks.com>
Thu, 21 May 2015 15:41:25 +0000 (08:41 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 26 May 2015 12:21:32 +0000 (14:21 +0200)
We will use the same env size and redundancy used for NAND env for MMC.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
include/configs/gw_ventana.h

index 7949b125de50213400bab1bd3eae1bf4921fb3f9..64c88d4eefb679b9b87ad87bd5db2246d6a8dabe 100644 (file)
 #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)