linux-mips
[Top] [All Lists]

[PATCH 1/7] MIPS: BCM63XX: remove bogus Kconfig selects

To: ralf@linux-mips.org
Subject: [PATCH 1/7] MIPS: BCM63XX: remove bogus Kconfig selects
From: "Florian Fainelli" <florian@openwrt.org>
Date: Tue, 18 Jun 2013 18:55:38 +0100
Cc: linux-mips@linux-mips.org, cernekee@gmail.com, jogo@openwrt.org, "Florian Fainelli" <florian@openwrt.org>
In-reply-to: <1371578144-12794-1-git-send-email-florian@openwrt.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1371578144-12794-1-git-send-email-florian@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
Remove the bogus selects on USB-related symbols for 6345 and 6338, not
only we do not yet support USB on BCM63XX, but they also cause the
following warnings:

warning: (BCM63XX_CPU_6338 && BCM63XX_CPU_6345) selects
USB_OHCI_BIG_ENDIAN_MMIO which has unmet direct dependencies
(USB_SUPPORT && USB && USB_OHCI_HCD)
warning: (BCM63XX_CPU_6338 && BCM63XX_CPU_6345) selects
USB_OHCI_BIG_ENDIAN_DESC which has unmet direct dependencies
(USB_SUPPORT && USB && USB_OHCI_HCD)
make[4]: Leaving directory `/home/florian/dev/linux'

Just get rid of these bogus Kconfig selects because neither 6345 nor
6338 actually have built-in USB host controllers.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
 arch/mips/bcm63xx/Kconfig | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/mips/bcm63xx/Kconfig b/arch/mips/bcm63xx/Kconfig
index 5639662..165727d 100644
--- a/arch/mips/bcm63xx/Kconfig
+++ b/arch/mips/bcm63xx/Kconfig
@@ -8,14 +8,9 @@ config BCM63XX_CPU_6328
 config BCM63XX_CPU_6338
        bool "support 6338 CPU"
        select HW_HAS_PCI
-       select USB_ARCH_HAS_OHCI
-       select USB_OHCI_BIG_ENDIAN_DESC
-       select USB_OHCI_BIG_ENDIAN_MMIO
 
 config BCM63XX_CPU_6345
        bool "support 6345 CPU"
-       select USB_OHCI_BIG_ENDIAN_DESC
-       select USB_OHCI_BIG_ENDIAN_MMIO
 
 config BCM63XX_CPU_6348
        bool "support 6348 CPU"
-- 
1.8.1.2



<Prev in Thread] Current Thread [Next in Thread>