mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00
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:
parent
39236acb0d
commit
23bde6909e
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue