diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 049a8e4265e6f152022d7c74c1956549a021e882..e32066d786500b9953dc6ec1ddf4ec9e10a7814f 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -502,7 +502,12 @@ "512k(u-boot),128k(u-boot-env1)," \ "128k(u-boot-env2),3464k(kernel)," \ "-(rootfs)" -#endif /* SPI support */ +#elif defined(CONFIG_EMMC_BOOT) +#undef CONFIG_ENV_IS_NOWHERE +#define CONFIG_ENV_IS_IN_MMC +#define CONFIG_SYS_MMC_ENV_DEV 1 +#define CONFIG_SYS_MMC_ENV_PART 2 +#endif /* Unsupported features */ #undef CONFIG_USE_IRQ