How to enable USB_ARCH_HAS_HCD for embedded target?

Steve deRosier <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <CALLGbRJcN89bFwzQ31rOLPJ-vudoKiWcZDHDDytKR=c7MGdjAA@mail.gmail.com>
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

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.