target/mips32: add cpu info detection
commit7de4b1202d5049dead386b3bcfa238b299f7c742
authorWalter Ji <walter.ji@oss.cipunited.com>
Tue, 26 Sep 2023 09:21:42 +0000 (26 17:21 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 6 Jan 2024 13:50:46 +0000 (6 13:50 +0000)
tree03dc4246ac0848d706a42752048919cdd97d0317
parentb7173732471c230a7fdc56efe23be35f60dbaae9
target/mips32: add cpu info detection

Add detection for mips cpu types by using prid.
Add cpuinfo command for inspecting more verbose info.
Add MIPS Architecture specs in openocd docs.

Change-Id: I28573b7c51783628db986bad0e226dcc399b4fa6
Signed-off-by: Walter Ji <walter.ji@oss.cipunited.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7912
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
doc/openocd.texi
src/target/mips32.c
src/target/mips32.h
src/target/mips_cpu.h