Skip to contentSkip to conversation

am57xx: Remove unused variable warnings

PATCH New Tom Rini 1 participant 2 messages Nov 22, 2016

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 am57xx: Remove unused variable warnings

Starting with the changes to fix USB host on am57xx/am43xx we stopped using usb_otg_ss1/related stuff and but we hadn't been enabling the relevant options to cause the warnings until just recently.

Fixes 55efadde7ede (ARM: AM57xx: AM43xx: Fix USB host)
Fixes a48d687c575f (configs: am57xx: Enable download gadget)
---
 board/ti/am57xx/board.c | 20 --------------------
 1 file changed, 20 deletions(-)
board/ti/am57xx/board.c +0 -20
index 64de60254136..f3e3f0bd3d60 100644
@@ -447,26 +447,6 @@ int spl_start_uboot(void)
 #endif
 
 #ifdef CONFIG_USB_DWC3
-static struct dwc3_device usb_otg_ss1 = {
-	.maximum_speed = USB_SPEED_SUPER,
-	.base = DRA7_USB_OTG_SS1_BASE,
-	.tx_fifo_resize = false,
-	.index = 0,
-};
-
-static struct dwc3_omap_device usb_otg_ss1_glue = {
-	.base = (void *)DRA7_USB_OTG_SS1_GLUE_BASE,
-	.utmi_mode = DWC3_OMAP_UTMI_MODE_SW,
-	.index = 0,
-};
-
-static struct ti_usb_phy_device usb_phy1_device = {
-	.pll_ctrl_base = (void *)DRA7_USB3_PHY1_PLL_CTRL,
-	.usb2_phy_power = (void *)DRA7_USB2_PHY1_POWER,
-	.usb3_phy_power = (void *)DRA7_USB3_PHY1_POWER,
-	.index = 0,
-};
-
 static struct dwc3_device usb_otg_ss2 = {
 	.maximum_speed = USB_SPEED_HIGH,
 	.base = DRA7_USB_OTG_SS2_BASE,
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 am57xx: Remove unused variable warnings

Quoted 7 lines · Tom Rini

Starting with the changes to fix USB host on am57xx/am43xx we stopped using usb_otg_ss1/related stuff and but we hadn't been enabling the relevant options to cause the warnings until just recently.

Fixes 55efadde7ede (ARM: AM57xx: AM43xx: Fix USB host)
Fixes a48d687c575f (configs: am57xx: Enable download gadget)

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161122/018fce65/attachment.sig>