summaryrefslogtreecommitdiff
path: root/board/gateworks
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2022-09-29 00:00:35 +0300
committerStefano Babic <sbabic@denx.de>2022-10-21 12:54:13 +0300
commit23bde6909e8a8fb252ddc40335438c3cadfdb2fa (patch)
treeb615545e3bd429be42fecb5eb141a5ad00cda7f5 /board/gateworks
parent39236acb0d97074618f4110f01ab20cfc246cec0 (diff)
downloadu-boot-23bde6909e8a8fb252ddc40335438c3cadfdb2fa.tar.xz
board: gateworks: gw_ventana: fix mmc env dev
Fix the MMC env device for boards with eMMC by adding a board_mmc_get_env_dev override to return the boot device as the MMC env device. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c
index 99f52b9953..68fcc0b1e4 100644
--- a/board/gateworks/gw_ventana/gw_ventana.c
+++ b/board/gateworks/gw_ventana/gw_ventana.c
@@ -1281,3 +1281,8 @@ int ft_board_setup(void *blob, struct bd_info *bd)
return 0;
}
#endif /* CONFIG_OF_BOARD_SETUP */
+
+int board_mmc_get_env_dev(int devno)
+{
+ return devno;
+}