From ec5e4bae251e01d2b7681e370a6c5e82a81e5962 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Fri, 11 May 2012 09:39:58 +0100 Subject: stlink: add armv7m stlink handling This enables us to better handle some of the low level functions that the stlink does not support. It also enables us to share a few more of the standard cortex_m3 functions if necessary. Change-Id: I7a2c57450122012ec189245d8879d8967913e00e Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/637 Tested-by: jenkins --- src/target/arm_adi_v5.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/target/arm_adi_v5.c') diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index 9a98f61d..fd3a92ce 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -1096,14 +1096,6 @@ int ahbap_debugport_init(struct adiv5_dap *dap) LOG_DEBUG(" "); - /* test for initialized low level jtag hardware - * this always fails for stlink hardware - */ - if (!dap->jtag_info) { - LOG_DEBUG("No low level jtag hardware found"); - return ERROR_OK; - } - /* JTAG-DP or SWJ-DP, in JTAG mode * ... for SWD mode this is patched as part * of link switchover -- cgit v1.2.3-18-g5258