Skip to contentSkip to conversation

board: gateworks: gw_ventana: fix mmc env dev

PATCH New Tim Harvey 2 participants 2 messages Sep 28, 2022 – Oct 21, 2022

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

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.

---
 board/gateworks/gw_ventana/gw_ventana.c | 5 +++++
 1 file changed, 5 insertions(+)
board/gateworks/gw_ventana/gw_ventana.c +5 -0
index 99f52b9953e2..68fcc0b1e4fb 100644
@@ -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
#1 lore raw

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_dev override to return the boot device as the MMC env device.

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]
=====================================================================