]> git.sur5r.net Git - openocd/commitdiff
mips_ejtag: Adding EJTAG 4.x and 5.x as valid versions
authorKamal Dasu <kdasu.kdev@gmail.com>
Wed, 17 Oct 2012 16:12:42 +0000 (12:12 -0400)
committerFreddie Chopin <freddie.chopin@gmail.com>
Sun, 9 Dec 2012 21:27:47 +0000 (21:27 +0000)
This is a minor change to log EJTAG version 4.x and 5.x
as valid versions when debug log is enabled.

Change-Id: Ie20458d033c6d22842cb4a31b56765d4ba2ff123
Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Reviewed-on: http://openocd.zylin.com/936
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/mips_ejtag.c

index bd7ae14dd70eec587023c277aa607ff7a5c4368c..286fa327ec1668d9a5cb0d696db5f2c933a33c8a 100644 (file)
@@ -274,6 +274,12 @@ int mips_ejtag_init(struct mips_ejtag *ejtag_info)
                case 3:
                        LOG_DEBUG("EJTAG: Version 3.1 Detected");
                        break;
+               case 4:
+                       LOG_DEBUG("EJTAG: Version 4.1 Detected");
+                       break;
+               case 5:
+                       LOG_DEBUG("EJTAG: Version 5.1 Detected");
+                       break;
                default:
                        LOG_DEBUG("EJTAG: Unknown Version Detected");
                        break;