diff options
Diffstat (limited to 'include/configs/apalis_imx6.h')
-rw-r--r-- | include/configs/apalis_imx6.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index 0d5d4317f5..c91457da76 100644 --- a/include/configs/apalis_imx6.h +++ b/include/configs/apalis_imx6.h @@ -350,8 +350,11 @@ #define CONFIG_ENV_IS_IN_MMC #if defined(CONFIG_ENV_IS_IN_MMC) -#define CONFIG_ENV_OFFSET (512 * 1024) +/* Environment in eMMC, before config block at the end of 1st "boot sector" */ +#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE + \ + CONFIG_TRDX_CFG_BLOCK_OFFSET) #define CONFIG_SYS_MMC_ENV_DEV 0 +#define CONFIG_SYS_MMC_ENV_PART 1 #endif #define CONFIG_OF_LIBFDT |