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>master
parent
9de1115de7
commit
9848e5740a
@ -0,0 +1,20 @@ |
||||
/* 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 */ |
Loading…
Reference in new issue