usb: dwc2-otg: adjust fifo size via platform data
The total FIFO size of some SoCs may be different from the existen, this patch supports fifo size setting from platform data. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -20,6 +20,9 @@ struct dwc2_plat_otg_data {
|
||||
unsigned int usb_phy_ctrl;
|
||||
unsigned int usb_flags;
|
||||
unsigned int usb_gusbcfg;
|
||||
unsigned int rx_fifo_sz;
|
||||
unsigned int np_tx_fifo_sz;
|
||||
unsigned int tx_fifo_sz;
|
||||
};
|
||||
|
||||
int dwc2_udc_probe(struct dwc2_plat_otg_data *pdata);
|
||||
|
||||
Reference in New Issue
Block a user