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 ?
|