From: Jiri Kastner Date: Wed, 1 Aug 2018 13:17:43 +0000 (+0200) Subject: mips_ejtag: there is no DCR.MIPS64 bit X-Git-Tag: v0.11.0-rc1~497 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=f98099507f509db9a18c70365490a6b9f67108db mips_ejtag: there is no DCR.MIPS64 bit available revisions (2.60, 3.10, 5.06 and 6.10) of MD00047 (EJTAG specification), have only in IMPCODE MIPS32/MIPS64 bit/flag. Change-Id: If9191b6ced760c59bb7551bb041cd72b0a060bb1 Signed-off-by: Jiri Kastner Reviewed-on: http://openocd.zylin.com/4628 Reviewed-by: Oleksij Rempel Tested-by: jenkins --- diff --git a/src/target/mips_ejtag.c b/src/target/mips_ejtag.c index 0b8122e1cf..6d35e211dd 100644 --- a/src/target/mips_ejtag.c +++ b/src/target/mips_ejtag.c @@ -349,7 +349,7 @@ static void ejtag_main_print_imp(struct mips_ejtag *ejtag_info) EJTAG_IMP_HAS(EJTAG_IMP_ASID6) ? " ASID_6" : "", EJTAG_IMP_HAS(EJTAG_IMP_MIPS16) ? " MIPS16" : "", EJTAG_IMP_HAS(EJTAG_IMP_NODMA) ? " noDMA" : " DMA", - EJTAG_IMP_HAS(EJTAG_DCR_MIPS64) ? " MIPS64" : " MIPS32"); + EJTAG_IMP_HAS(EJTAG_IMP_MIPS64) ? " MIPS64" : " MIPS32"); switch (ejtag_info->ejtag_version) { case EJTAG_VERSION_20: diff --git a/src/target/mips_ejtag.h b/src/target/mips_ejtag.h index cfba0ab561..ace3d281ee 100644 --- a/src/target/mips_ejtag.h +++ b/src/target/mips_ejtag.h @@ -130,7 +130,7 @@ /* v2.0 - 1:4 Number of Break Channels. */ #define EJTAG_V20_IMP_BCHANNELS_MASK 0xf #define EJTAG_V20_IMP_BCHANNELS_SHIFT 1 -#define EJTAG_DCR_MIPS64 (1 << 0) +#define EJTAG_IMP_MIPS64 (1 << 0) /* Debug Control Register DCR */ #define EJTAG_DCR 0xFF300000