diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-03-29 15:42:17 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-04-21 10:26:52 +0200 |
commit | 0fdd0bc621f060fcf60fd4ba48a2a32f338ffeac (patch) | |
tree | 5caebd7c6d8f4cef2d95dc9a53e57501e8ed9840 /include/usb | |
parent | c2c74f97afff9351077f2236ab6fa5638de9bd86 (diff) | |
download | u-boot-0fdd0bc621f060fcf60fd4ba48a2a32f338ffeac.zip u-boot-0fdd0bc621f060fcf60fd4ba48a2a32f338ffeac.tar.gz u-boot-0fdd0bc621f060fcf60fd4ba48a2a32f338ffeac.tar.bz2 |
usb: dwc2: Add force-b-session-valid support
Handle "force-b-session-valid" property from DT.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'include/usb')
-rw-r--r-- | include/usb/dwc2_udc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/dwc2_udc.h b/include/usb/dwc2_udc.h index 4068de0..3cf20ea 100644 --- a/include/usb/dwc2_udc.h +++ b/include/usb/dwc2_udc.h @@ -22,6 +22,7 @@ struct dwc2_plat_otg_data { unsigned int rx_fifo_sz; unsigned int np_tx_fifo_sz; unsigned int tx_fifo_sz; + bool force_b_session_valid; }; int dwc2_udc_probe(struct dwc2_plat_otg_data *pdata); |