brcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL router
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.10 / 041-MIPS-BCM63XX-remove-bogus-Kconfig-selects.patch
1 From 318883517ebc56e1f9068597e9875f578016e225 Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <florian@openwrt.org>
3 Date: Tue, 18 Jun 2013 16:55:38 +0000
4 Subject: [PATCH] MIPS: BCM63XX: remove bogus Kconfig selects
5
6 Remove the bogus selects on USB-related symbols for 6345 and 6338, not
7 only we do not yet support USB on BCM63XX, but they also cause the
8 following warnings:
9
10 warning: (BCM63XX_CPU_6338 && BCM63XX_CPU_6345) selects
11 USB_OHCI_BIG_ENDIAN_MMIO which has unmet direct dependencies
12 (USB_SUPPORT && USB && USB_OHCI_HCD)
13 warning: (BCM63XX_CPU_6338 && BCM63XX_CPU_6345) selects
14 USB_OHCI_BIG_ENDIAN_DESC which has unmet direct dependencies
15 (USB_SUPPORT && USB && USB_OHCI_HCD)
16 make[4]: Leaving directory `/home/florian/dev/linux'
17
18 Just get rid of these bogus Kconfig selects because neither 6345 nor
19 6338 actually have built-in USB host controllers.
20
21 Signed-off-by: Florian Fainelli <florian@openwrt.org>
22 Cc: linux-mips@linux-mips.org
23 Cc: cernekee@gmail.com
24 Cc: jogo@openwrt.org
25 Patchwork: http://patchwork.linux-mips.org/patch/5497/
26 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
27 ---
28 arch/mips/bcm63xx/Kconfig | 5 -----
29 1 file changed, 5 deletions(-)
30
31 --- a/arch/mips/bcm63xx/Kconfig
32 +++ b/arch/mips/bcm63xx/Kconfig
33 @@ -12,14 +12,9 @@ config BCM63XX_CPU_6328
34 config BCM63XX_CPU_6338
35 bool "support 6338 CPU"
36 select HW_HAS_PCI
37 - select USB_ARCH_HAS_OHCI
38 - select USB_OHCI_BIG_ENDIAN_DESC
39 - select USB_OHCI_BIG_ENDIAN_MMIO
40
41 config BCM63XX_CPU_6345
42 bool "support 6345 CPU"
43 - select USB_OHCI_BIG_ENDIAN_DESC
44 - select USB_OHCI_BIG_ENDIAN_MMIO
45
46 config BCM63XX_CPU_6348
47 bool "support 6348 CPU"