From: Tim Harvey Date: Wed, 28 Sep 2022 21:00:35 +0000 (-0700) Subject: board: gateworks: gw_ventana: fix mmc env dev X-Git-Tag: baikal/mips/sdk5.8.2~5^2~177^2~37 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=7a14e3065fc47795e2210f9bae751647b50bb054;p=uboot.git 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 --- 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; +}