stm32mp1: remove CONFIG_USB_DWC2, HOST support for USBO
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 29 Mar 2019 14:42:22 +0000 (15:42 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 21 Apr 2019 08:26:52 +0000 (10:26 +0200)
commit995d228bce85fde34ef726933fea614837dbc94d
treeab336ddcbf67c5e558dc54193c10e3083c63ee41
parent931e9d7aa7228867eec7e33fd45718e6018cc96d
stm32mp1: remove CONFIG_USB_DWC2, HOST support for USBO

Remove the HOST support for STM32MP1 USBO device = OTG DWC2.
The current DWC2 driver have no dynamic detection of device,
So it is dangerous to have start 3V3 when PC is
connected to the micro USB connector.

=> it is preferable to have only DEVICE support
   CONFIG_USB_GADGET_DWC2_OTG for OTG port

See DWC3 driver for clean dual role support...

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
configs/stm32mp15_basic_defconfig
configs/stm32mp15_trusted_defconfig