LICENSES: drop SPDX tag 'GPL-2.0' and use 'GPL-2.0-only'
[openocd.git] / src / target / mips_cpu.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef OPENOCD_TARGET_MIPS_CPU_H
3 #define OPENOCD_TARGET_MIPS_CPU_H
4
5 /*
6 * NOTE: The proper detection of certain CPUs can become quite complicated.
7 * Please consult the following Linux kernel code when adding new CPUs:
8 * arch/mips/include/asm/cpu.h
9 * arch/mips/kernel/cpu-probe.c
10 */
11
12 /* Assigned Company values for bits 23:16 of the PRId register. */
13 #define PRID_COMP_MASK 0xff0000
14
15 #define PRID_COMP_LEGACY 0x000000
16 #define PRID_COMP_MTI 0x010000
17 #define PRID_COMP_BROADCOM 0x020000
18 #define PRID_COMP_ALCHEMY 0x030000
19 #define PRID_COMP_LEXRA 0x0b0000
20 #define PRID_COMP_ALTERA 0x100000
21 #define PRID_COMP_INGENIC_E1 0xe10000
22
23 /*
24 * Assigned Processor ID (implementation) values for bits 15:8 of the PRId
25 * register. In order to detect a certain CPU type exactly eventually additional
26 * registers may need to be examined.
27 */
28 #define PRID_IMP_MASK 0xff00
29
30 #define PRID_IMP_MAPTIV_UC 0x9D00
31 #define PRID_IMP_MAPTIV_UP 0x9E00
32 #define PRID_IMP_IAPTIV_CM 0xA000
33 #define PRID_IMP_IAPTIV 0xA100
34 #define PRID_IMP_M5150 0xA700
35
36 #define PRID_IMP_XBURST_REV1 0x0200 /* XBurst®1 with MXU1.0/MXU1.1 SIMD ISA */
37
38 #endif /* OPENOCD_TARGET_MIPS_CPU_H */

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)