MIPS: add Loongson-1B processor constants and CPU probe
This commit is based on this linux commit:

    commit 2fa3639
    Author: Kelvin Cheung <keguang.zhang@gmail.com>
    Date:   Wed Jun 20 20:05:32 2012 +0100

        MIPS: Add CPU support for Loongson1B

        Loongson 1B is a 32-bit SoC designed by Institute of Computing Technology
        (ICT) and the Chinese Academy of Sciences (CAS), which implements the
        MIPS32 release 2 instruction set.

        [ralf@linux-mips.org: But which is not strictly a MIPS32 compliant device
        which also is why it identifies itself with the Legacy Vendor ID in the
        PrID register.  When applying the patch I shoveled some code around to
        keep things in alphabetical order and avoid forward declarations.]

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2118632 commit 7c0da296139600761700d1e3b16a764372d6d0f6
@Antony Pavlov Antony Pavlov authored on 18 Jan 2014
Sascha Hauer committed on 21 Jan 2014
Showing 2 changed files
View
arch/mips/include/asm/cpu.h
View
arch/mips/lib/cpu-probe.c