mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	omap3: cm-t3517: add board specific get_board_rev()
CM-T3517 has several HW revisions. Add board specific get_board_rev() callback to retrieve revision number. Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il> Reviewed-by: Igor Grinberg <grinberg@compulab.co.il>
This commit is contained in:
		
							parent
							
								
									a1e56cf6d4
								
							
						
					
					
						commit
						0a57c037b5
					
				@ -98,6 +98,15 @@ int board_init(void)
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Routine: get_board_rev
 | 
			
		||||
 * Description: read system revision
 | 
			
		||||
 */
 | 
			
		||||
u32 get_board_rev(void)
 | 
			
		||||
{
 | 
			
		||||
	return cl_eeprom_get_board_rev(CONFIG_SYS_I2C_EEPROM_BUS);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
int misc_init_r(void)
 | 
			
		||||
{
 | 
			
		||||
	cl_print_pcb_info();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user