]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: imx8mn_evk: add board_mmc_get_env_dev
authorPeng Fan <peng.fan@nxp.com>
Mon, 6 Jan 2020 08:16:32 +0000 (16:16 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 8 Jan 2020 12:20:09 +0000 (13:20 +0100)
Add board_mmc_get_env_dev, otherwise,
Loading Environment from MMC...
MMC Device 0 not found
*** Warning - No MMC card found, using default environment

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/imx8mn_evk/imx8mn_evk.c

index b22a2a6bd15f0bb6d54640c1fd60c23cc7035269..4f33c0e7c9e032b81dacc9a5fa49db5d9c61aebf 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