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:
parent
8d195afd2d
commit
6f78eb1ec1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue