diff options
author | Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> | 2014-10-27 06:12:23 -0400 |
---|---|---|
committer | Markos Chandras <markos.chandras@imgtec.com> | 2015-02-16 05:01:24 -0500 |
commit | aca5721e9524de0306ba914e678365fcb704c60c (patch) | |
tree | 0478251246be4761f9a4edec75ad21a028ef43c5 /arch/mips/include/asm/cpu.h | |
parent | b3e76c44a55e4452a0717a7eafb3b608b13629f9 (diff) |
MIPS: Add generic QEMU PRid and cpu type identifiers
Latest versions of QEMU added support for mips32r6-generic and
mips64r6-generic cpu types so add related definitions in preparation
of MIPS R6 support. This is also used for QEMU R2 generic cpus.
Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/include/asm/cpu.h')
-rw-r--r-- | arch/mips/include/asm/cpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h index 33866fce4d63..0b74bbf976e4 100644 --- a/arch/mips/include/asm/cpu.h +++ b/arch/mips/include/asm/cpu.h | |||
@@ -93,6 +93,7 @@ | |||
93 | * These are the PRID's for when 23:16 == PRID_COMP_MIPS | 93 | * These are the PRID's for when 23:16 == PRID_COMP_MIPS |
94 | */ | 94 | */ |
95 | 95 | ||
96 | #define PRID_IMP_QEMU_GENERIC 0x0000 | ||
96 | #define PRID_IMP_4KC 0x8000 | 97 | #define PRID_IMP_4KC 0x8000 |
97 | #define PRID_IMP_5KC 0x8100 | 98 | #define PRID_IMP_5KC 0x8100 |
98 | #define PRID_IMP_20KC 0x8200 | 99 | #define PRID_IMP_20KC 0x8200 |
@@ -312,6 +313,8 @@ enum cpu_type_enum { | |||
312 | CPU_LOONGSON3, CPU_CAVIUM_OCTEON, CPU_CAVIUM_OCTEON_PLUS, | 313 | CPU_LOONGSON3, CPU_CAVIUM_OCTEON, CPU_CAVIUM_OCTEON_PLUS, |
313 | CPU_CAVIUM_OCTEON2, CPU_CAVIUM_OCTEON3, CPU_XLR, CPU_XLP, | 314 | CPU_CAVIUM_OCTEON2, CPU_CAVIUM_OCTEON3, CPU_XLR, CPU_XLP, |
314 | 315 | ||
316 | CPU_QEMU_GENERIC, | ||
317 | |||
315 | CPU_LAST | 318 | CPU_LAST |
316 | }; | 319 | }; |
317 | 320 | ||