linux-mips
[Top] [All Lists]

Re: [PATCH V5 10/18] MIPS: Loongson: Add Loongson-3 Kconfig options.

To: linux-mips@linux-mips.org
Subject: Re: [PATCH V5 10/18] MIPS: Loongson: Add Loongson-3 Kconfig options.
From: John Crispin <john@phrozen.org>
Date: Sun, 12 Aug 2012 08:20:13 +0200
In-reply-to: <1344677543-22591-11-git-send-email-chenhc@lemote.com>
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>
References: <1344677543-22591-1-git-send-email-chenhc@lemote.com> <1344677543-22591-11-git-send-email-chenhc@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16
On 11/08/12 11:32, Huacai Chen wrote:
> Added Kconfig options include: Loongson-3 CPU and machine definition,
> UEFI-like firmware interface, HT-linked PCI, big memory support, etc.
> 
> Signed-off-by: Huacai Chen <chenhc@lemote.com>
> Signed-off-by: Hongliang Tao <taohl@lemote.com>
> Signed-off-by: Hua Yan <yanh@lemote.com>
> ---
>  arch/mips/Kconfig          |   22 ++++++++++++++++++
>  arch/mips/loongson/Kconfig |   52 
> ++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 74 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index 331d574..9e8e86c 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -1571,6 +1571,16 @@ config CPU_LOONGSON2
>       select CPU_SUPPORTS_64BIT_KERNEL
>       select CPU_SUPPORTS_HIGHMEM
>  
> +config CPU_LOONGSON3
> +     bool "Loongson 3 CPU"
> +     depends on SYS_HAS_CPU_LOONGSON3
> +     select CPU_SUPPORTS_32BIT_KERNEL
> +     select CPU_SUPPORTS_64BIT_KERNEL
> +     select CPU_SUPPORTS_HIGHMEM
> +     help
> +             The Loongson 3 processor implements the MIPS III instruction set
> +             with many extensions.
> +
>  config CPU_LOONGSON1
>       bool
>       select CPU_MIPS32
> @@ -1597,6 +1607,9 @@ config SYS_HAS_CPU_LOONGSON2F
>       select CPU_SUPPORTS_ADDRWINCFG if 64BIT
>       select CPU_SUPPORTS_UNCACHED_ACCELERATED
>  
> +config SYS_HAS_CPU_LOONGSON3
> +     bool
> +

It look slike this series uses the SYS_HAS_CPU_LOONGSON3 symbol only as
a proxy to select CPU_LOONGSON3. I can so no other references.
LEMOTE_MACH3A can select CPU_LOONGSON3 direclty ?



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