summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc2
diff options
context:
space:
mode:
authorJohn Youn <John.Youn@synopsys.com>2017-01-23 14:57:48 -0800
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-24 16:19:07 +0200
commit06e75df1b98eda998ec693e7eaa79f61cdf2d4b3 (patch)
treed1c3abaa5bbb97b0f93f8d9e2dfea1769bd15510 /drivers/usb/dwc2
parent95832c00bc5ce3ed140f5f9b669803f75ac1431e (diff)
usb: dwc2: Remove unnecessary parameters
Further reduce the set of parameters set by platforms. Many of them are unnecessary as they should be reported by hardware. They should only need to be overridden if there is a problem. Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2')
-rw-r--r--drivers/usb/dwc2/params.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c
index b872f6128cc2..0e7f0f92c18f 100644
--- a/drivers/usb/dwc2/params.c
+++ b/drivers/usb/dwc2/params.c
@@ -42,19 +42,9 @@ static void dwc2_set_bcm_params(struct dwc2_hsotg *hsotg)
{
struct dwc2_core_params *p = &hsotg->params;
- p->otg_cap = DWC2_CAP_PARAM_HNP_SRP_CAPABLE;
- p->speed = DWC2_SPEED_PARAM_HIGH;
p->host_rx_fifo_size = 774;
- p->host_nperio_tx_fifo_size = 256;
- p->host_perio_tx_fifo_size = 512;
p->max_transfer_size = 65535;
p->max_packet_count = 511;
- p->host_channels = 8;
- p->phy_type = 1;
- p->phy_utmi_width = 8;
- p->i2c_enable = false;
- p->host_ls_low_power_phy_clk = false;
- p->reload_ctl = false;
p->ahbcfg = 0x10;
p->uframe_sched = false;
}
@@ -74,7 +64,6 @@ static void dwc2_set_his_params(struct dwc2_hsotg *hsotg)
p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI;
p->phy_utmi_width = 8;
p->i2c_enable = false;
- p->host_ls_low_power_phy_clk = false;
p->reload_ctl = false;
p->ahbcfg = GAHBCFG_HBSTLEN_INCR16 <<
GAHBCFG_HBSTLEN_SHIFT;