From: Peng Fan Date: Thu, 9 Jan 2025 03:29:09 +0000 (+0800) Subject: imx: imx8mn_evk: Enable dynamic settings to mmcdev and mmcroot X-Git-Tag: v2025.04-rc1~54^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35e43f7f7592ff8e151da9adf482b80ec4d9aba4;p=pandora-u-boot.git imx: imx8mn_evk: Enable dynamic settings to mmcdev and mmcroot Enable dynamic settings to mmcdev and mmcroot for i.MX8MN-EVK Signed-off-by: Peng Fan --- diff --git a/board/freescale/imx8mn_evk/imx8mn_evk.c b/board/freescale/imx8mn_evk/imx8mn_evk.c index 1b9dc51978b..c62d7a47e21 100644 --- a/board/freescale/imx8mn_evk/imx8mn_evk.c +++ b/board/freescale/imx8mn_evk/imx8mn_evk.c @@ -3,6 +3,7 @@ * Copyright 2019 NXP */ +#include #include #include #include @@ -30,6 +31,10 @@ int board_init(void) int board_late_init(void) { +#if CONFIG_IS_ENABLED(ENV_IS_IN_MMC) + board_late_mmc_env_init(); +#endif + #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG env_set("board_name", "DDR4 EVK"); env_set("board_rev", "iMX8MN");