Steve deRosier
2012-10-02 18:19:55 UTC
Can anyone tell me the "proper" or "accepted" way to enable
CONFIG_USB_ARCH_HAS_HCD for my embedded uClinux project?
I have a bus-connected c67x00 USB chip on my mcf5235 system. To get it
running and make the chip-driver accessible, I hacked the
linux-3.x/drivers/usb/Kconfig:
config USB_ARCH_HAS_HCD
boolean
default y if USB_ARCH_HAS_OHCI
default y if USB_ARCH_HAS_EHCI
default y if USB_ARCH_HAS_XHCI
default y if PCMCIA && !M32R # sl811_cs
default y if ARM # SL-811
default y if NIOS2 # SL-811
default y if BLACKFIN # SL-811
default y if SUPERH # r8a66597-hcd
+ default y if M523x
default PCI
I selected the right stuff, setup the platform device in my board-specific
.c files and have it running and tested. Now I want to cleanup so I can
make my commits.
Obviously this is a board-specific thing, not a "generic linux" thing, so
what's the better way of doing this?
Thanks,
- Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20121002/98f8f510/attachment.html>
CONFIG_USB_ARCH_HAS_HCD for my embedded uClinux project?
I have a bus-connected c67x00 USB chip on my mcf5235 system. To get it
running and make the chip-driver accessible, I hacked the
linux-3.x/drivers/usb/Kconfig:
config USB_ARCH_HAS_HCD
boolean
default y if USB_ARCH_HAS_OHCI
default y if USB_ARCH_HAS_EHCI
default y if USB_ARCH_HAS_XHCI
default y if PCMCIA && !M32R # sl811_cs
default y if ARM # SL-811
default y if NIOS2 # SL-811
default y if BLACKFIN # SL-811
default y if SUPERH # r8a66597-hcd
+ default y if M523x
default PCI
I selected the right stuff, setup the platform device in my board-specific
.c files and have it running and tested. Now I want to cleanup so I can
make my commits.
Obviously this is a board-specific thing, not a "generic linux" thing, so
what's the better way of doing this?
Thanks,
- Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20121002/98f8f510/attachment.html>