]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
board: ti: remove duplicate initialization of vbus_id_status
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 10 Aug 2015 11:22:57 +0000 (16:52 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 28 Aug 2015 16:33:20 +0000 (12:33 -0400)
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>
board/ti/am43xx/board.c
board/ti/dra7xx/evm.c

index d7b9e5af88fc8ed6bf3a2f1a1d8d4a48cf12db87..14549765d7f9aa2783bcfed4102efc363456aa70 100644 (file)
@@ -685,7 +685,6 @@ static struct dwc3_device usb_otg_ss1 = {
 static struct dwc3_omap_device usb_otg_ss1_glue = {
        .base = (void *)USB_OTG_SS1_GLUE_BASE,
        .utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
-       .vbus_id_status = OMAP_DWC3_VBUS_VALID,
        .index = 0,
 };
 
@@ -704,7 +703,6 @@ static struct dwc3_device usb_otg_ss2 = {
 static struct dwc3_omap_device usb_otg_ss2_glue = {
        .base = (void *)USB_OTG_SS2_GLUE_BASE,
        .utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
-       .vbus_id_status = OMAP_DWC3_VBUS_VALID,
        .index = 1,
 };
 
index 6e3c85513f890e5f6dc656b2201da4942ebac5ff..eaf123cf55aad3377a24e0618d406d04a67fb6ba 100644 (file)
@@ -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,
 };