Add the first difference for 0.13 targets.

Just to confirm the 0.13 code takes a different path.

Change-Id: I7f1c9c8f3b586aee001dbeef2213f5f2e6a94f36
This commit is contained in:
Tim Newsome 2017-02-05 18:21:34 -08:00
parent 8d195afd2d
commit 6f78eb1ec1
1 changed files with 1 additions and 1 deletions

View File

@ -1806,7 +1806,7 @@ static int examine(struct target *target)
LOG_ERROR("dtmcontrol is 0. Check JTAG connectivity/board power.");
return ERROR_FAIL;
}
if (get_field(dtmcontrol, DTMCONTROL_VERSION) != 0) {
if (get_field(dtmcontrol, DTMCONTROL_VERSION) != 1) {
LOG_ERROR("Unsupported DTM version %d. (dtmcontrol=0x%x)",
get_field(dtmcontrol, DTMCONTROL_VERSION), dtmcontrol);
return ERROR_FAIL;