summaryrefslogtreecommitdiff
path: root/board/ti/dra7xx
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-08-10 16:52:57 +0530
committerTom Rini <trini@konsulko.com>2015-08-28 12:33:20 -0400
commit03c128c949f405d6218f46adc7ef94a998770efa (patch)
tree747ec48f0319bd3c41be49a9971d74f10fabe695 /board/ti/dra7xx
parent0a7ab045b9b50b20806c0dd523c068c19f4f9cde (diff)
downloadu-boot-imx-03c128c949f405d6218f46adc7ef94a998770efa.zip
u-boot-imx-03c128c949f405d6218f46adc7ef94a998770efa.tar.gz
u-boot-imx-03c128c949f405d6218f46adc7ef94a998770efa.tar.bz2
board: ti: remove duplicate initialization of vbus_id_status
vbus_id_status is initialized in board_usb_init. So remove it while creating dwc3_device objects. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti/dra7xx')
-rw-r--r--board/ti/dra7xx/evm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 6e3c855..eaf123c 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -133,7 +133,6 @@ static struct dwc3_device usb_otg_ss1 = {
static struct dwc3_omap_device usb_otg_ss1_glue = {
.base = (void *)DRA7_USB_OTG_SS1_GLUE_BASE,
.utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
- .vbus_id_status = OMAP_DWC3_VBUS_VALID,
.index = 0,
};
@@ -154,7 +153,6 @@ static struct dwc3_device usb_otg_ss2 = {
static struct dwc3_omap_device usb_otg_ss2_glue = {
.base = (void *)DRA7_USB_OTG_SS2_GLUE_BASE,
.utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
- .vbus_id_status = OMAP_DWC3_VBUS_VALID,
.index = 1,
};