mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 14:00:19 +00:00 
			
		
		
		
	Try to maintain some consistency between these variables by using _plat as a suffix for them. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			23 lines
		
	
	
		
			338 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			338 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0 */
 | 
						|
 | 
						|
#ifndef _OMAP_I2C_H
 | 
						|
#define _OMAP_I2C_H
 | 
						|
 | 
						|
#ifdef CONFIG_DM_I2C
 | 
						|
 | 
						|
/* Information about a GPIO bank */
 | 
						|
struct omap_i2c_plat {
 | 
						|
	ulong base;	/* address of registers in physical memory */
 | 
						|
	int speed;
 | 
						|
	int ip_rev;
 | 
						|
};
 | 
						|
 | 
						|
#endif
 | 
						|
 | 
						|
enum {
 | 
						|
	OMAP_I2C_REV_V1 = 0,
 | 
						|
	OMAP_I2C_REV_V2 = 1,
 | 
						|
};
 | 
						|
 | 
						|
#endif /* _OMAP_I2C_H */
 |