aboutsummaryrefslogtreecommitdiff
path: root/tcl/fpga/altera-arriaii.cfg
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.au>2023-08-02 21:38:58 +0000
committerAntonio Borneo <borneo.antonio@gmail.com>2023-08-26 11:39:20 +0000
commit05ee88915520d1dd82da94a016a9374a1f3a8129 (patch)
treeace9c139fdfd183373361ca2499bced85c9068a6 /tcl/fpga/altera-arriaii.cfg
parenta4b4750e3860fae620f51d34a43a655b5ccdd51d (diff)
downloadriscv-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 'tcl/fpga/altera-arriaii.cfg')
0 files changed, 0 insertions, 0 deletions