diff options
author | Peng Fan <peng.fan@nxp.com> | 2019-10-09 03:08:17 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-10-14 09:31:41 +0200 |
commit | 5fba75373b6118a2e7f75740bd7374b534d722c7 (patch) | |
tree | 85a46e03e32018fab7b15c89908bcd8ccfb89afc /board | |
parent | 49cf320f7a9d6e053b190a60bf7e1cba00d3e49c (diff) |
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 <peng.fan@nxp.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/imx8mm_evk/imx8mm_evk.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |