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>
This commit is contained in:
Tim Harvey 2022-09-28 14:00:35 -07:00 committed by Stefano Babic
parent 39236acb0d
commit 23bde6909e

View file

@ -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;
}