cortex_m: Add Cortex-M0 identification to ROM-table display.

Change-Id: Id7715a83ba9793844475629aaffd10a81ce586b6
Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-on: http://openocd.zylin.com/2549
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Stian Skjelstad <stian@nixia.no>
This commit is contained in:
Uwe Bonnes 2015-02-13 16:48:23 +01:00 committed by Paul Fertser
parent 0228f8e827
commit db83fb307b
1 changed files with 12 additions and 0 deletions

View File

@ -1234,6 +1234,18 @@ static int dap_rom_display(struct command_context *cmd_ctx,
type = "Cortex-M3 FBP";
full = "(Flash Patch and Breakpoint)";
break;
case 0x008:
type = "Cortex-M0 SCS";
full = "(System Control Space)";
break;
case 0x00a:
type = "Cortex-M0 DWT";
full = "(Data Watchpoint and Trace)";
break;
case 0x00b:
type = "Cortex-M0 BPU";
full = "(Breakpoint Unit)";
break;
case 0x00c:
type = "Cortex-M4 SCS";
full = "(System Control Space)";