From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:51123 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758598Ab1F3I0x (ORCPT ); Thu, 30 Jun 2011 04:26:53 -0400 Received: by wwe5 with SMTP id 5so1995448wwe.1 for ; Thu, 30 Jun 2011 01:26:52 -0700 (PDT) From: Florian Fainelli To: Hauke Mehrtens Subject: Re: [RFC v3 11/13] bcm47xx: make it possible to build bcm47xx without ssb. Date: Thu, 30 Jun 2011 10:31:03 +0200 Cc: linux-wireless@vger.kernel.org, zajec5@gmail.com, linux-mips@linux-mips.org, mb@bu3sch.de, george@znau.edu.ua, arend@broadcom.com, b43-dev@lists.infradead.org, bernhardloos@googlemail.com, arnd@arndb.de, julian.calaby@gmail.com, sshtylyov@mvista.com References: <1309385518-12097-1-git-send-email-hauke@hauke-m.de> <1309385518-12097-12-git-send-email-hauke@hauke-m.de> In-Reply-To: <1309385518-12097-12-git-send-email-hauke@hauke-m.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Message-Id: <201106301031.03203.florian@openwrt.org> (sfid-20110630_102659_089991_AC06FEF3) Sender: linux-wireless-owner@vger.kernel.org List-ID: Hello Hauke, On Thursday 30 June 2011 00:11:56 Hauke Mehrtens wrote: > Signed-off-by: Hauke Mehrtens > --- > arch/mips/Kconfig | 8 +------- > arch/mips/bcm47xx/Kconfig | 18 ++++++++++++++++++ > arch/mips/bcm47xx/Makefile | 3 ++- > arch/mips/bcm47xx/gpio.c | 6 ++++++ > arch/mips/bcm47xx/nvram.c | 4 ++++ > arch/mips/bcm47xx/serial.c | 4 ++++ > arch/mips/bcm47xx/setup.c | 8 ++++++++ > arch/mips/bcm47xx/time.c | 2 ++ > arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | 4 ++++ > arch/mips/include/asm/mach-bcm47xx/gpio.h | 12 ++++++++++++ > arch/mips/pci/pci-bcm47xx.c | 6 ++++++ > drivers/watchdog/bcm47xx_wdt.c | 4 ++++ > 12 files changed, 71 insertions(+), 8 deletions(-) > create mode 100644 arch/mips/bcm47xx/Kconfig > > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > index 45f7aac..dcb3675 100644 > --- a/arch/mips/Kconfig > +++ b/arch/mips/Kconfig > @@ -91,15 +91,8 @@ config BCM47XX > select DMA_NONCOHERENT > select HW_HAS_PCI > select IRQ_CPU > - select SYS_HAS_CPU_MIPS32_R1 > select SYS_SUPPORTS_32BIT_KERNEL > select SYS_SUPPORTS_LITTLE_ENDIAN > - select SSB > - select SSB_DRIVER_MIPS > - select SSB_DRIVER_EXTIF > - select SSB_EMBEDDED > - select SSB_B43_PCI_BRIDGE if PCI > - select SSB_PCICORE_HOSTMODE if PCI > select GENERIC_GPIO > select SYS_HAS_EARLY_PRINTK > select CFE > @@ -788,6 +781,7 @@ endchoice > > source "arch/mips/alchemy/Kconfig" > source "arch/mips/ath79/Kconfig" > +source "arch/mips/bcm47xx/Kconfig" > source "arch/mips/bcm63xx/Kconfig" > source "arch/mips/jazz/Kconfig" > source "arch/mips/jz4740/Kconfig" > diff --git a/arch/mips/bcm47xx/Kconfig b/arch/mips/bcm47xx/Kconfig > new file mode 100644 > index 0000000..443d918 > --- /dev/null > +++ b/arch/mips/bcm47xx/Kconfig > @@ -0,0 +1,18 @@ > +if BCM47XX > + > +config BCM47XX_SSB > + bool "BCMA Support for Broadcom BCM47XX" Should not this be: "SSB support for Broadcom BCM47XX"? > + select SYS_HAS_CPU_MIPS32_R1 > + select SSB > + select SSB_DRIVER_MIPS > + select SSB_DRIVER_EXTIF > + select SSB_EMBEDDED > + select SSB_B43_PCI_BRIDGE if PCI > + select SSB_PCICORE_HOSTMODE if PCI > + default y > + help > + Add support for old Broadcom BCM47xx boards with Sonics Silicon > Backplane support bus. + > + This will generate an image with support for SSB and MIPS32 R2 > instruction set. + > +endif > diff --git a/arch/mips/bcm47xx/Makefile b/arch/mips/bcm47xx/Makefile > index 7465e8a..4add173 100644 > --- a/arch/mips/bcm47xx/Makefile > +++ b/arch/mips/bcm47xx/Makefile > @@ -3,4 +3,5 @@ > # under Linux. > #