usb: dwc2: Update Kconfig to support dual-role
authorDinh Nguyen <dinguyen@opensource.altera.com>
Tue, 26 Aug 2014 16:19:52 +0000 (11:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 22:45:00 +0000 (15:45 -0700)
commite006fee6ecfed5b957bdd41c236aad751ab29042
treeaee9105112e8a398b7f5d2226a96e47041391848
parentc0155b9d5ef29092d39502ec57b0454b2b3c7cc9
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, only dwc2.ko is needed.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/Kconfig
drivers/usb/dwc2/Makefile