
Tom,
We can either define CONFIG_MUSB_UDC or CONFIG_MUSB_HCD (host support),
so I think it's better to move host and device specific definitions within
CONFIG_MUSB_UDC or CONFIG_MUSB_HCD.
#ifdef CONFIG_USB_OMAP3
#ifdef CONFIG_MUSB_HCD
<here define all host specific definitions> #endif
#ifdef CONFIG_MUSB_UDC
<here define all device specific definitions> #endif
#endif /* CONFIG_USB_OMAP3 */
This change would make it easier to test Host or device functionalities.
-Ajay
I am not adding host support.
Host side controller driver is already available (musb_hcd.c) and can be used by any omap3 platforms.
So I think we can add host config also for all the omap3 platforms which anyways doesn't break device functionality.
I would be submitting USB config patch for omap3_evm by today.
-Ajay
Tom