107-MIPS-BCM63XX-introduce-BCM63XX_EHCI-configuration-sy.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. From 00da1683364e58c6430a4577123d01037f8faddc Mon Sep 17 00:00:00 2001
  2. From: Florian Fainelli <florian@openwrt.org>
  3. Date: Mon, 28 Jan 2013 20:06:26 +0100
  4. Subject: [PATCH 08/11] MIPS: BCM63XX: introduce BCM63XX_EHCI configuration
  5. symbol
  6. This configuration symbol can be used by CPUs supporting the on-chip
  7. EHCI controller, and ensures that all relevant EHCI-related
  8. configuration options are selected. So far BCM6328, BCM6358 and BCM6368
  9. have an EHCI controller and do select this symbol. Update
  10. drivers/usb/host/Kconfig with BCM63XX to update direct unmet
  11. dependencies.
  12. Signed-off-by: Florian Fainelli <florian@openwrt.org>
  13. ---
  14. arch/mips/bcm63xx/Kconfig | 9 +++++++++
  15. drivers/usb/host/Kconfig | 5 +++--
  16. 2 files changed, 12 insertions(+), 2 deletions(-)
  17. --- a/arch/mips/bcm63xx/Kconfig
  18. +++ b/arch/mips/bcm63xx/Kconfig
  19. @@ -12,11 +12,18 @@ config BCM63XX_OHCI
  20. select USB_OHCI_BIG_ENDIAN_DESC if USB_OHCI_HCD
  21. select USB_OHCI_BIG_ENDIAN_MMIO if USB_OHCI_HCD
  22. +config BCM63XX_EHCI
  23. + bool
  24. + select USB_ARCH_HAS_EHCI
  25. + select USB_EHCI_BIG_ENDIAN_DESC if USB_EHCI_HCD
  26. + select USB_EHCI_BIG_ENDIAN_MMIO if USB_EHCI_HCD
  27. +
  28. config BCM63XX_CPU_6328
  29. bool "support 6328 CPU"
  30. select SYS_HAS_CPU_BMIPS4350
  31. select HW_HAS_PCI
  32. select BCM63XX_OHCI
  33. + select BCM63XX_EHCI
  34. config BCM63XX_CPU_6338
  35. bool "support 6338 CPU"
  36. @@ -38,18 +45,21 @@ config BCM63XX_CPU_6358
  37. select SYS_HAS_CPU_BMIPS4350
  38. select HW_HAS_PCI
  39. select BCM63XX_OHCI
  40. + select BCM63XX_EHCI
  41. config BCM63XX_CPU_6362
  42. bool "support 6362 CPU"
  43. select SYS_HAS_CPU_BMIPS4350
  44. select HW_HAS_PCI
  45. select BCM63XX_OHCI
  46. + select BCM63XX_EHCI
  47. config BCM63XX_CPU_6368
  48. bool "support 6368 CPU"
  49. select SYS_HAS_CPU_BMIPS4350
  50. select HW_HAS_PCI
  51. select BCM63XX_OHCI
  52. + select BCM63XX_EHCI
  53. endmenu
  54. source "arch/mips/bcm63xx/boards/Kconfig"