diff options
author | Karl Palsson <karlp@tweak.au> | 2023-08-02 21:38:58 +0000 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-08-26 11:39:20 +0000 |
commit | 05ee88915520d1dd82da94a016a9374a1f3a8129 (patch) | |
tree | ace9c139fdfd183373361ca2499bced85c9068a6 /doc/openocd.texi | |
parent | a4b4750e3860fae620f51d34a43a655b5ccdd51d (diff) | |
download | riscv-openocd-05ee88915520d1dd82da94a016a9374a1f3a8129.zip riscv-openocd-05ee88915520d1dd82da94a016a9374a1f3a8129.tar.gz riscv-openocd-05ee88915520d1dd82da94a016a9374a1f3a8129.tar.bz2 |
target/cortex_m: check core implementor field
Presently, we only look at the Part Number field of the CPUID, and
completely ignore the Implmentor field, simply assuming it to be ARM.
Parts have since been found, with different implementors, that use
overlapping part numbers, causing detection to fail.
Expand the "part number" field to be a full implementor+part number,
excluding the revision/patch fields, to make checking more reliable.
Change-Id: Id81774f829104f57a0c105320d0d2e479fa01522
Signed-off-by: Karl Palsson <karlp@tweak.au>
Reviewed-on: https://review.openocd.org/c/openocd/+/7845
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'doc/openocd.texi')
0 files changed, 0 insertions, 0 deletions