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
					
				| 
						 | 
					@ -1281,3 +1281,8 @@ int ft_board_setup(void *blob, struct bd_info *bd)
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#endif /* CONFIG_OF_BOARD_SETUP */
 | 
					#endif /* CONFIG_OF_BOARD_SETUP */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					int board_mmc_get_env_dev(int devno)
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						return devno;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue