imx: imx8mm_evk: add board_mmc_get_env_dev
authorPeng Fan <peng.fan@nxp.com>
Wed, 9 Oct 2019 03:08:17 +0000 (03:08 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 14 Oct 2019 07:31:41 +0000 (09:31 +0200)
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

index 3706e1ec5506ad447117438942a5e5e35dba21df..e4742338e33068ebf2aaacb36280f5a4f0cacbb2 100644 (file)
@@ -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