bcm63xx: update patches
[openwrt/staging/chunkeey.git] / target / linux / brcm63xx / patches-3.9 / 104-MIPS-BCM63XX-introduce-BCM63XX_OHCI-configuration-sy.patch
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
7 This configuration symbol can be used by CPUs supporting the on-chip
8 OHCI controller, and ensures that all relevant OHCI-related
9 configuration options are correctly selected. So far, OHCI support is
10 available for the 6328, 6348, 6358 and 6358 SoCs.
11
12 Signed-off-by: Florian Fainelli <florian@openwrt.org>
13 ---
14 arch/mips/bcm63xx/Kconfig | 15 ++++++++++-----
15 1 file changed, 10 insertions(+), 5 deletions(-)
16
17 --- a/arch/mips/bcm63xx/Kconfig
18 +++ b/arch/mips/bcm63xx/Kconfig
19 @@ -5,9 +5,16 @@ config BCM63XX_CPU_3368
20 bool "support 3368 CPU"
21 select HW_HAS_PCI
22
23 +config BCM63XX_OHCI
24 + bool
25 + select USB_ARCH_HAS_OHCI
26 + select USB_OHCI_BIG_ENDIAN_DESC if USB_OHCI_HCD
27 + select USB_OHCI_BIG_ENDIAN_MMIO if USB_OHCI_HCD
28 +
29 config BCM63XX_CPU_6328
30 bool "support 6328 CPU"
31 select HW_HAS_PCI
32 + select BCM63XX_OHCI
33
34 config BCM63XX_CPU_6338
35 bool "support 6338 CPU"
36 @@ -19,18 +26,22 @@ config BCM63XX_CPU_6345
37 config BCM63XX_CPU_6348
38 bool "support 6348 CPU"
39 select HW_HAS_PCI
40 + select BCM63XX_OHCI
41
42 config BCM63XX_CPU_6358
43 bool "support 6358 CPU"
44 select HW_HAS_PCI
45 + select BCM63XX_OHCI
46
47 config BCM63XX_CPU_6362
48 bool "support 6362 CPU"
49 select HW_HAS_PCI
50 + select BCM63XX_OHCI
51
52 config BCM63XX_CPU_6368
53 bool "support 6368 CPU"
54 select HW_HAS_PCI
55 + select BCM63XX_OHCI
56 endmenu
57
58 source "arch/mips/bcm63xx/boards/Kconfig"