mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-04 10:21:25 +01:00 
			
		
		
		
	Changed the header files included in core.h and io.h to the u-boot header files so that these files can be included in other dwc3 source files and be compiled in uboot. Also added otg.h which has the defines for dr_mode. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			377 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			377 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* include/linux/usb/otg.h
 | 
						|
 *
 | 
						|
 * Copyright (c) 2015 Texas Instruments Incorporated - http://www.ti.com
 | 
						|
 *
 | 
						|
 * USB OTG (On The Go) defines
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier:     GPL-2.0+
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef __LINUX_USB_OTG_H
 | 
						|
#define __LINUX_USB_OTG_H
 | 
						|
 | 
						|
enum usb_dr_mode {
 | 
						|
	USB_DR_MODE_UNKNOWN,
 | 
						|
	USB_DR_MODE_HOST,
 | 
						|
	USB_DR_MODE_PERIPHERAL,
 | 
						|
	USB_DR_MODE_OTG,
 | 
						|
};
 | 
						|
 | 
						|
#endif /* __LINUX_USB_OTG_H */
 |