104-MIPS-BCM63XX-introduce-BCM63XX_OHCI-configuration-sy.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. From 94ec618bd1a6b07fafbbfc9bcc54e7f9360ff9a0 Mon Sep 17 00:00:00 2001
  2. From: Florian Fainelli <florian@openwrt.org>
  3. Date: Mon, 28 Jan 2013 20:06:23 +0100
  4. Subject: [PATCH 05/11] MIPS: BCM63XX: introduce BCM63XX_OHCI configuration
  5. symbol
  6. This configuration symbol can be used by CPUs supporting the on-chip
  7. OHCI controller, and ensures that all relevant OHCI-related
  8. configuration options are correctly selected. So far, OHCI support is
  9. available for the 6328, 6348, 6358 and 6358 SoCs.
  10. Signed-off-by: Florian Fainelli <florian@openwrt.org>
  11. ---
  12. arch/mips/bcm63xx/Kconfig | 15 ++++++++++-----
  13. 1 file changed, 10 insertions(+), 5 deletions(-)
  14. --- a/arch/mips/bcm63xx/Kconfig
  15. +++ b/arch/mips/bcm63xx/Kconfig
  16. @@ -6,10 +6,17 @@ config BCM63XX_CPU_3368
  17. select SYS_HAS_CPU_BMIPS4350
  18. select HW_HAS_PCI
  19. +config BCM63XX_OHCI
  20. + bool
  21. + select USB_ARCH_HAS_OHCI
  22. + select USB_OHCI_BIG_ENDIAN_DESC if USB_OHCI_HCD
  23. + select USB_OHCI_BIG_ENDIAN_MMIO if USB_OHCI_HCD
  24. +
  25. config BCM63XX_CPU_6328
  26. bool "support 6328 CPU"
  27. select SYS_HAS_CPU_BMIPS4350
  28. select HW_HAS_PCI
  29. + select BCM63XX_OHCI
  30. config BCM63XX_CPU_6338
  31. bool "support 6338 CPU"
  32. @@ -24,21 +31,25 @@ config BCM63XX_CPU_6348
  33. bool "support 6348 CPU"
  34. select SYS_HAS_CPU_BMIPS32_3300
  35. select HW_HAS_PCI
  36. + select BCM63XX_OHCI
  37. config BCM63XX_CPU_6358
  38. bool "support 6358 CPU"
  39. select SYS_HAS_CPU_BMIPS4350
  40. select HW_HAS_PCI
  41. + select BCM63XX_OHCI
  42. config BCM63XX_CPU_6362
  43. bool "support 6362 CPU"
  44. select SYS_HAS_CPU_BMIPS4350
  45. select HW_HAS_PCI
  46. + select BCM63XX_OHCI
  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. endmenu
  53. source "arch/mips/bcm63xx/boards/Kconfig"