Skip to contentSkip to conversation

USB: otg Kconfig: let USB_OTG_UTILS select USB_ULPI option

git:v4l-dvb/master Uwe Kleine-König 1 participant 1 message Mar 7, 2010 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hello,

Quoted 19 lines · Patch from Valentin Longchamp

From: Valentin Longchamp <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

With CONFIG_USB_ULPI=y, CONFIG_USB<=m, CONFIG_PCI=n and CONFIG_USB_OTG_UTILS=n, which is the default used for mx31moboard, the build for all mx3 platforms fails because drivers/usb/otg/ulpi.c where otg_ulpi_create is defined is not compiled.

Build error:
arch/arm/mach-mx3/built-in.o: In function `mxc_board_init':
kzmarm11.c:(.init.text+0x73c): undefined reference to otg_ulpi_create' kzmarm11.c:(.init.text+0x1020): undefined reference to otg_ulpi_create'

This isn't a strong dependency as drivers/usb/otg/ulpi.c doesn't use functions defined in drivers/usb/otg/otg.o and is only needed to get ulpi.o linked into the kernel image.

Quoted 6 lines
 drivers/usb/otg/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

I wonder why I got this patch (and two others) via linux-media. AFAIK they go in (or maybe even are in) Linus' tree via other trees?!

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |