mips_ejtag: there is no DCR.MIPS64 bit 28/4628/6
authorJiri Kastner <cz172638@gmail.com>
Wed, 1 Aug 2018 13:17:43 +0000 (15:17 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Mon, 20 Jan 2020 06:28:49 +0000 (06:28 +0000)
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 <cz172638@gmail.com>
Reviewed-on: http://openocd.zylin.com/4628
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Tested-by: jenkins
src/target/mips_ejtag.c
src/target/mips_ejtag.h

index 0b8122e..6d35e21 100644 (file)
@@ -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:
index cfba0ab..ace3d28 100644 (file)
 /* 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