git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d5afc
)
imx: imx8mn_evk: Enable dynamic settings to mmcdev and mmcroot
author
Peng Fan
<peng.fan@nxp.com>
Thu, 9 Jan 2025 03:29:09 +0000
(11:29 +0800)
committer
Fabio Estevam
<festevam@gmail.com>
Thu, 16 Jan 2025 13:15:41 +0000
(10:15 -0300)
Enable dynamic settings to mmcdev and mmcroot for i.MX8MN-EVK
Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/imx8mn_evk/imx8mn_evk.c
patch
|
blob
|
history
diff --git
a/board/freescale/imx8mn_evk/imx8mn_evk.c
b/board/freescale/imx8mn_evk/imx8mn_evk.c
index
1b9dc51
..
c62d7a4
100644
(file)
--- a/
board/freescale/imx8mn_evk/imx8mn_evk.c
+++ b/
board/freescale/imx8mn_evk/imx8mn_evk.c
@@
-3,6
+3,7
@@
* Copyright 2019 NXP
*/
+#include <asm/arch/sys_proto.h>
#include <asm/io.h>
#include <env.h>
#include <init.h>
@@
-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");