diff options
| author | Peng Fan <[email protected]> | 2025-01-09 11:29:05 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2025-01-16 10:15:41 -0300 |
| commit | d4e0105e58f6983df2b94869da8690c3fdd4b272 (patch) | |
| tree | 54a0a1e7cd3f4185014845436a4a7a64ac66bdd3 | |
| parent | 4854b2777cf6bc850851a8aaf6c6fc6686f737fd (diff) | |
imx: imx8mp_evk: Enable dynamic settings to mmcdev and mmcroot
Enable dynamic settings to mmcdev and mmcroot for i.MX8MP-EVK
Signed-off-by: Peng Fan <[email protected]>
| -rw-r--r-- | board/freescale/common/Makefile | 2 | ||||
| -rw-r--r-- | board/freescale/imx8mp_evk/imx8mp_evk.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile index c2c86c0dd08..468a06725c1 100644 --- a/board/freescale/common/Makefile +++ b/board/freescale/common/Makefile @@ -59,7 +59,7 @@ obj-$(CONFIG_POWER_PFUZE100) += pfuze.o endif obj-$(CONFIG_DM_PMIC_PFUZE100) += pfuze.o obj-$(CONFIG_POWER_MC34VR500) += mc34vr500.o -ifneq (,$(filter $(SOC), imx8ulp imx9)) +ifneq (,$(filter $(SOC), imx8m imx8ulp imx9)) obj-y += mmc.o endif diff --git a/board/freescale/imx8mp_evk/imx8mp_evk.c b/board/freescale/imx8mp_evk/imx8mp_evk.c index 024b46ef8bc..2ff067bc675 100644 --- a/board/freescale/imx8mp_evk/imx8mp_evk.c +++ b/board/freescale/imx8mp_evk/imx8mp_evk.c @@ -3,6 +3,7 @@ * Copyright 2019 NXP */ +#include <asm/arch/sys_proto.h> #include <env.h> int board_init(void) @@ -12,6 +13,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", "EVK"); env_set("board_rev", "iMX8MP"); |
