diff options
author | Steven J. Hill <sjhill@mips.com> | 2012-07-06 21:56:00 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-07-06 21:56:00 (GMT) |
commit | 113c62d9844d9037508fa156e47db1b5407a27c3 (patch) | |
tree | b56e01001144f8a0dfb69ae628a70cc6c58e72ce /arch/mips/kernel/cpu-probe.c | |
parent | 839efb4ffbfba74857e3411413f7ca53c8ff1925 (diff) | |
download | linux-fsl-qoriq-113c62d9844d9037508fa156e47db1b5407a27c3.tar.xz |
MIPS: Add support for the M14Kc core.
[ralf@linux-mips.org: Fixed whitespace damage.]
Signed-off-by: Steven J. Hill <sjhill@mips.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3773/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cpu-probe.c')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index 6ae7ce4..aaf39f3 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c @@ -4,7 +4,7 @@ * Copyright (C) xxxx the Anonymous * Copyright (C) 1994 - 2006 Ralf Baechle * Copyright (C) 2003, 2004 Maciej W. Rozycki - * Copyright (C) 2001, 2004 MIPS Inc. + * Copyright (C) 2001, 2004, 2011, 2012 MIPS Technologies, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -199,6 +199,7 @@ void __init check_wait(void) cpu_wait = rm7k_wait_irqoff; break; + case CPU_M14KC: case CPU_24K: case CPU_34K: case CPU_1004K: @@ -831,6 +832,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu) c->cputype = CPU_74K; __cpu_name[cpu] = "MIPS 74Kc"; break; + case PRID_IMP_M14KC: + c->cputype = CPU_M14KC; + __cpu_name[cpu] = "MIPS M14Kc"; + break; case PRID_IMP_1004K: c->cputype = CPU_1004K; __cpu_name[cpu] = "MIPS 1004Kc"; |