/*
* Environment
*/
-#define CONFIG_ENV_IS_IN_SPI_FLASH
-#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
-#define CONFIG_ENV_OFFSET 0x8000
+#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
+#define CONFIG_SYS_CONSOLE_ENV_OVERWRITE
#define CONFIG_ENV_SIZE 0x4000
-#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
-#define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE
-#define CONFIG_ENV_SECT_SIZE 0x1000
+#define CONFIG_SYS_MMC_ENV_DEV 0 /* eMMC */
+#define CONFIG_ENV_OFFSET 512 /* just after the MBR */
/*
* U-Boot general configurations