From: Peng Fan Date: Wed, 9 Oct 2019 03:08:17 +0000 (+0000) Subject: imx: imx8mm_evk: add board_mmc_get_env_dev X-Git-Tag: v2025.01-rc5-pxa1908~2747^2~2 X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B%20%24image.RelPermalink%20%7D%7D?a=commitdiff_plain;h=5fba75373b6118a2e7f75740bd7374b534d722c7;p=u-boot.git imx: imx8mm_evk: add board_mmc_get_env_dev Add board_mmc_get_env_dev to correctly return devno for mmc env Signed-off-by: Peng Fan --- diff --git a/board/freescale/imx8mm_evk/imx8mm_evk.c b/board/freescale/imx8mm_evk/imx8mm_evk.c index 3706e1ec55..e4742338e3 100644 --- a/board/freescale/imx8mm_evk/imx8mm_evk.c +++ b/board/freescale/imx8mm_evk/imx8mm_evk.c @@ -19,6 +19,11 @@ int board_init(void) return 0; } +int board_mmc_get_env_dev(int devno) +{ + return devno; +} + int board_late_init(void) { #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG