usb: dwc2: Update Kconfig to support dual-role
authorDinh Nguyen <dinguyen@opensource.altera.com>
Tue, 11 Nov 2014 17:13:40 +0000 (11:13 -0600)
committerFelipe Balbi <balbi@ti.com>
Fri, 14 Nov 2014 21:00:07 +0000 (15:00 -0600)
commit5ee80705a5339270538119d1e8721b365eac5202
treecef317f44c3567dbad7e2a0a2fa8a0dd75996bed
parentf5500ecc90a887d7e65274817733fbe477070559
usb: dwc2: Update Kconfig to support dual-role

Update DWC2 kconfig and makefile to support dual-role mode. The platform
file will always get compiled for the case where the controller is directly
connected to the CPU. So for loadable modules, dwc2.ko is built for host,
peripheral, and dual-role mode. The PCI bus interface will be called
dwc2_pci.ko and the platform interface module will be called dwc2_platform.ko.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/Kconfig
drivers/usb/dwc2/Makefile