]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: gateworks: gw_ventana: fix mmc env dev
authorTim Harvey <tharvey@gateworks.com>
Wed, 28 Sep 2022 21:00:35 +0000 (14:00 -0700)
committerStefano Babic <sbabic@denx.de>
Fri, 21 Oct 2022 09:54:13 +0000 (11:54 +0200)
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>
board/gateworks/gw_ventana/gw_ventana.c

index 99f52b9953e23e3c1b7ce2d50e83fefb7a94d95e..68fcc0b1e4fb56ebc10234477072e020515aca29 100644 (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;
+}