From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757447Ab0JQRG3 (ORCPT ); Sun, 17 Oct 2010 13:06:29 -0400 Received: from zmc.proxad.net ([212.27.53.206]:50699 "EHLO zmc.proxad.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757417Ab0JQRGU convert rfc822-to-8bit (ORCPT ); Sun, 17 Oct 2010 13:06:20 -0400 X-Spam-Flag: NO X-Spam-Score: 0.674 From: Florian Fainelli To: Kevin Cernekee Subject: Re: [PATCH 2/9] MIPS: Add BMIPS processor types to Kconfig Date: Sun, 17 Oct 2010 19:01:04 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.36-rc6-amd64; KDE/4.4.5; x86_64; ; ) Cc: Ralf Baechle , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org References: <17ebecce124618ddf83ec6fe8e526f93@localhost> In-Reply-To: Organization: Freebox MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Message-Id: <201010171901.04581.ffainelli@freebox.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Kevin, Le Saturday 16 October 2010 23:22:31, Kevin Cernekee a écrit : > Add processor feature definitions for BMIPS3300, BMIPS4350, BMIPS4380, > and BMIPS5000. > > Signed-off-by: Kevin Cernekee > --- > arch/mips/Kconfig | 63 > +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 63 > insertions(+), 0 deletions(-) > > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > index 5526faa..1403926 100644 > --- a/arch/mips/Kconfig > +++ b/arch/mips/Kconfig > @@ -1332,6 +1332,57 @@ config CPU_CAVIUM_OCTEON > can have up to 16 Mips64v2 cores and 8 integrated gigabit ethernets. > Full details can be found at http://www.caviumnetworks.com. > > +config CPU_BMIPS3300 > + bool "BMIPS3300" > + depends on SYS_HAS_CPU_BMIPS3300 > + select DMA_NONCOHERENT > + select IRQ_CPU > + select SWAP_IO_SPACE > + select SYS_SUPPORTS_32BIT_KERNEL > + select WEAK_ORDERING > + help > + Broadcom BMIPS3300 processors. > + > +config CPU_BMIPS4350 > + bool "BMIPS4350" > + depends on SYS_HAS_CPU_BMIPS4350 > + select CPU_SUPPORTS_32BIT_KERNEL > + select DMA_NONCOHERENT > + select IRQ_CPU > + select SWAP_IO_SPACE > + select SYS_SUPPORTS_SMP > + select SYS_SUPPORTS_HOTPLUG_CPU > + select WEAK_ORDERING > + help > + Broadcom BMIPS4350 processors. May I suggest to include the marketed name "Viper" here to help people know where this CPU block can be found? > + > +config CPU_BMIPS4380 > + bool "BMIPS4380" > + depends on SYS_HAS_CPU_BMIPS4380 > + select CPU_SUPPORTS_32BIT_KERNEL > + select DMA_NONCOHERENT > + select IRQ_CPU > + select SWAP_IO_SPACE > + select SYS_SUPPORTS_SMP > + select SYS_SUPPORTS_HOTPLUG_CPU > + select WEAK_ORDERING > + help > + Broadcom BMIPS4380 processors. > + > +config CPU_BMIPS5000 > + bool "BMIPS5000" > + depends on SYS_HAS_CPU_BMIPS5000 > + select CPU_SUPPORTS_32BIT_KERNEL > + select CPU_SUPPORTS_HIGHMEM > + select DMA_NONCOHERENT > + select IRQ_CPU > + select SWAP_IO_SPACE > + select SYS_SUPPORTS_SMP > + select SYS_SUPPORTS_HOTPLUG_CPU > + select WEAK_ORDERING > + help > + Broadcom BMIPS5000 processors. > + > endchoice > > if CPU_LOONGSON2F > @@ -1450,6 +1501,18 @@ config SYS_HAS_CPU_SB1 > config SYS_HAS_CPU_CAVIUM_OCTEON > bool > > +config SYS_HAS_CPU_BMIPS3300 > + bool > + > +config SYS_HAS_CPU_BMIPS4350 > + bool > + > +config SYS_HAS_CPU_BMIPS4380 > + bool > + > +config SYS_HAS_CPU_BMIPS5000 > + bool > + > # > # CPU may reorder R->R, R->W, W->R, W->W > # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC