diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2017-07-27 07:59:08 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2017-07-31 12:04:07 +0200 |
commit | 6feacdd7074ac0ebf3d99166662ca5bb4c9f17cc (patch) | |
tree | 2d4e501a923a41755e60af95d72d3594f753b054 | |
parent | bf8f62d3343388190eb55e4e531cca2b62c946d2 (diff) | |
download | barebox-6feacdd7074ac0ebf3d99166662ca5bb4c9f17cc.tar.gz barebox-6feacdd7074ac0ebf3d99166662ca5bb4c9f17cc.tar.xz |
MIPS: add 74Kc info
This patch is preparation for SoC QCA AR9344
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
-rw-r--r-- | arch/mips/include/asm/cpu.h | 2 | ||||
-rw-r--r-- | arch/mips/lib/cpu-probe.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h index 572cabba34..e0bb78ea61 100644 --- a/arch/mips/include/asm/cpu.h +++ b/arch/mips/include/asm/cpu.h @@ -51,6 +51,7 @@ #define PRID_IMP_24K 0x9300 #define PRID_IMP_24KE 0x9600 +#define PRID_IMP_74K 0x9700 /* * These are the PRID's for when 23:16 == PRID_COMP_BROADCOM @@ -105,6 +106,7 @@ enum cpu_type_enum { * MIPS32 class processors */ CPU_24K, + CPU_74K, CPU_BMIPS3300, CPU_JZRISC, CPU_LOONGSON1, diff --git a/arch/mips/lib/cpu-probe.c b/arch/mips/lib/cpu-probe.c index 71dbaf6382..b5d63db189 100644 --- a/arch/mips/lib/cpu-probe.c +++ b/arch/mips/lib/cpu-probe.c @@ -106,6 +106,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c) c->cputype = CPU_24K; __cpu_name = "MIPS 24Kc"; break; + case PRID_IMP_74K: + c->cputype = CPU_74K; + __cpu_name = "MIPS 74Kc"; + break; } } |