Commit 43eb1a83 authored by Peng Fan's avatar Peng Fan Committed by Jason Liu
Browse files

MLK-15323-4: imx8m: evk: invoke board_late_mmc_env_init



Invoke board_late_mmc_init to support dynamically changing mmcroot.
Add board_mmc_get_env_dev to read/save env into correct mmc/sd device.
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 1eae8c24
......@@ -362,6 +362,11 @@ int board_init(void)
return 0;
}
int board_mmc_get_env_dev(int devno)
{
return devno;
}
int board_late_init(void)
{
struct wdog_regs *wdog = (struct wdog_regs *)WDOG1_BASE_ADDR;
......@@ -370,6 +375,8 @@ int board_late_init(void)
set_wdog_reset(wdog);
board_late_mmc_env_init();
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment