brcm63xx: rename target to bcm63xx
[oweals/openwrt.git] / target / linux / bcm63xx / patches-4.19 / 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 @@ -7,10 +7,17 @@ config BCM63XX_CPU_3368
20         select SYS_HAS_CPU_BMIPS4350
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 SYS_HAS_CPU_BMIPS4350
32         select HW_HAS_PCI
33 +       select BCM63XX_OHCI
34  
35  config BCM63XX_CPU_6338
36         bool "support 6338 CPU"
37 @@ -25,21 +32,25 @@ config BCM63XX_CPU_6348
38         bool "support 6348 CPU"
39         select SYS_HAS_CPU_BMIPS32_3300
40         select HW_HAS_PCI
41 +       select BCM63XX_OHCI
42  
43  config BCM63XX_CPU_6358
44         bool "support 6358 CPU"
45         select SYS_HAS_CPU_BMIPS4350
46         select HW_HAS_PCI
47 +       select BCM63XX_OHCI
48  
49  config BCM63XX_CPU_6362
50         bool "support 6362 CPU"
51         select SYS_HAS_CPU_BMIPS4350
52         select HW_HAS_PCI
53 +       select BCM63XX_OHCI
54  
55  config BCM63XX_CPU_6368
56         bool "support 6368 CPU"
57         select SYS_HAS_CPU_BMIPS4350
58         select HW_HAS_PCI
59 +       select BCM63XX_OHCI
60  endmenu
61  
62  source "arch/mips/bcm63xx/boards/Kconfig"