summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2025-01-09 11:29:11 +0800
committerFabio Estevam <[email protected]>2025-01-16 10:15:42 -0300
commitfc7bb3deccf1badac4746f2f75dfe9f0a806e4f8 (patch)
tree693ba0de12a0fc5f0bbcffc94cc6610066f1a9ac
parentf8ab31eae42bbfd5cc3f8ad52694f3373a406b6a (diff)
imx: imx8mm_evk: Enable dynamic settings to mmcdev and mmcroot
Enable dynamic settings to mmcdev and mmcroot for i.MX8MM-EVK Signed-off-by: Peng Fan <[email protected]>
-rw-r--r--board/freescale/imx8mm_evk/imx8mm_evk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/imx8mm_evk/imx8mm_evk.c b/board/freescale/imx8mm_evk/imx8mm_evk.c
index 4c4436af3b1..d41db8d31d8 100644
--- a/board/freescale/imx8mm_evk/imx8mm_evk.c
+++ b/board/freescale/imx8mm_evk/imx8mm_evk.c
@@ -59,6 +59,9 @@ int board_mmc_get_env_dev(int devno)
int board_late_init(void)
{
+ if (IS_ENABLED(CONFIG_ENV_IS_IN_MMC))
+ board_late_mmc_env_init();
+
if (IS_ENABLED(CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG)) {
env_set("board_name", "EVK");
env_set("board_rev", "iMX8MM");