* [U-Boot] [PATCH] imx: imx8mm_evk: add board_mmc_get_env_dev
@ 2019-10-09 3:08 Peng Fan
0 siblings, 0 replies; only message in thread
From: Peng Fan @ 2019-10-09 3:08 UTC (permalink / raw
To: u-boot
Add board_mmc_get_env_dev to correctly return devno for mmc env
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
board/freescale/imx8mm_evk/imx8mm_evk.c | 5 +++++
1 file changed, 5 insertions(+)
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
--
2.16.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-09 3:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-09 3:08 [U-Boot] [PATCH] imx: imx8mm_evk: add board_mmc_get_env_dev Peng Fan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.