diff options
author | Matthias Welwarsky <matthias.welwarsky@sysgo.com> | 2016-11-23 10:15:50 +0100 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2016-12-08 12:25:35 +0000 |
commit | 0a2f1b29e678c97c7981090f769e841cbd583442 (patch) | |
tree | 432a69e74e48c8e6dbe96194c348d3d0e9d81ccc /src/target/nds32.h | |
parent | 53a936afc0092f4a65975d35bab0e10944fad3db (diff) | |
download | riscv-openocd-0a2f1b29e678c97c7981090f769e841cbd583442.zip riscv-openocd-0a2f1b29e678c97c7981090f769e841cbd583442.tar.gz riscv-openocd-0a2f1b29e678c97c7981090f769e841cbd583442.tar.bz2 |
cortex_a: remove partnum magic from arp_examine and dbginit
Depending on the Debug implementation the "OS Lock" feature might be
implemented or not. It is not actually depending on the part number of the
implemented ARM core but on the DBGOSLSR.OSLM bits. This patch removes
querying the part number and implements proper parsing of OSLM. Result is
a more generic approach that will work out-of-box on more devices.
Change-Id: I79e052869c2f9af1d7fdedef42faddb7292e7332
Signed-off-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-on: http://openocd.zylin.com/3213
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'src/target/nds32.h')
0 files changed, 0 insertions, 0 deletions