Re: [PATCH 16/30] usb/musb: HDRC depends on TWL4030_CORE for OMAP3/4
From: Felipe Balbi
Date: Sun Oct 02 2011 - 15:00:17 EST
On Sun, Oct 02, 2011 at 04:45:46PM +0200, Arnd Bergmann wrote:
> The musb_hdrc driver tries to select TWL4030_USB or TWL6030_USB
> on some platforms, but those symbols in turn depend on TWL4030_CORE.
the very fact that MUSB tries to select those is wrong. That's also some
buggy legacy crap which is still floating around...
MUSB does not depend on TWL4030. MUSB depends on a PHY being available,
no matter which one.
IMHO, this would be better moved to board definition, ideally with an
option for selecting some symbol as module (as I have suggested before).
Ideally, all those broken dependencies on MUSB would be cut down to
depends on USB && USB_GADGET.
Description: Digital signature