linux-mips
[Top] [All Lists]

[PATCH][MIPS] Kconfig fixes for BCM47XX platform

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] Kconfig fixes for BCM47XX platform
From: Aurelien Jarno <aurelien@aurel32.net>
Date: Tue, 11 Dec 2007 11:30:34 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20071210102232.GA10145@hall.aurel32.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20071210102232.GA10145@hall.aurel32.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.13 (2006-08-11)
Hi,

The patch below fixes two problems for Kconfig on the BCM47xx platform:
- arch/mips/bcm47xx/gpio.c uses ssb_extif_* functions. Selecting 
  SSB_DRIVER_EXTIF makes sure those functions are available.
- arch/mips/pci/pci.c needs, when enabled, platform specific functions,
  which are defined when SSB_PCICORE_HOSTMODE is enabled.

This patch replaces the one called "Enable SSB_DRIVER_EXTIF on BCM47XX
platform" posted yesterday.

Aurelien

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index c6fc405..b4ffcae 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -59,6 +59,8 @@ config BCM47XX
        select SYS_SUPPORTS_LITTLE_ENDIAN
        select SSB
        select SSB_DRIVER_MIPS
+       select SSB_DRIVER_EXTIF
+       select SSB_PCICORE_HOSTMODE if PCI
        select GENERIC_GPIO
        select SYS_HAS_EARLY_PRINTK
        select CFE

-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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