From 35e43f7f7592ff8e151da9adf482b80ec4d9aba4 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Thu, 9 Jan 2025 11:29:09 +0800 Subject: [PATCH] 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 --- board/freescale/imx8mn_evk/imx8mn_evk.c | 5 +++++ 1 file changed, 5 insertions(+) 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"); -- 2.39.5