summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-02-23 18:40:08 +0530
committerMarek Vasut <marex@denx.de>2015-04-14 05:48:10 +0200
commit93c3763810670a8feedcf097be09f264839d368c (patch)
tree90d204134f511d8c8d3cfbc4af5de8c9b27540c9 /drivers/usb
parent3f52e1b98527a8943718871f85de10d37a24f011 (diff)
downloadu-boot-imx-93c3763810670a8feedcf097be09f264839d368c.zip
u-boot-imx-93c3763810670a8feedcf097be09f264839d368c.tar.gz
u-boot-imx-93c3763810670a8feedcf097be09f264839d368c.tar.bz2
include: dwc3-omap-uboot: add a structure for populating dwc3-omap platform data
Added a structure to populate dwc3 omap platform data. The board file should populate these platform data before invoking dwc3 omap driver. This will be removed once dwc3-omap driver is adapted to use the driver model. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/dwc3/dwc3-omap.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c
index b385987..31a2aa3 100644
--- a/drivers/usb/dwc3/dwc3-omap.c
+++ b/drivers/usb/dwc3/dwc3-omap.c
@@ -120,13 +120,6 @@ struct dwc3_omap {
u32 dma_status:1;
};
-enum omap_dwc3_vbus_id_status {
- OMAP_DWC3_ID_FLOAT,
- OMAP_DWC3_ID_GROUND,
- OMAP_DWC3_VBUS_OFF,
- OMAP_DWC3_VBUS_VALID,
-};
-
static inline u32 dwc3_omap_readl(void __iomem *base, u32 offset)
{
return readl(base + offset);