board: gateworks: gw_ventana: fix mmc env dev
PATCH 1/1 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 <[email protected]>
--- board/gateworks/gw_ventana/gw_ventana.c | 5 +++++ 1 file changed, 5 insertions(+)
board/gateworks/gw_ventana/gw_ventana.c +5 -0
@@ -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; +}
Signature · 1 line
2.25.1
PATCH 1/1 board: gateworks: gw_ventana: fix mmc env dev
Quoted 4 lines
Fix the MMC env device for boards with eMMC by adding a
board_mmc_get_env_devoverride to return the boot device as the MMC env device.Signed-off-by Tim Harvey <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================