|
@@ -940,7 +940,9 @@ static int mips_m4k_examine(struct target *target) |
|
|
|
|
|
|
|
|
if (!target_was_examined(target)) |
|
|
if (!target_was_examined(target)) |
|
|
{ |
|
|
{ |
|
|
mips_ejtag_get_idcode(ejtag_info, &idcode); |
|
|
|
|
|
|
|
|
retval = mips_ejtag_get_idcode(ejtag_info, &idcode); |
|
|
|
|
|
if (retval != ERROR_OK) |
|
|
|
|
|
return retval; |
|
|
ejtag_info->idcode = idcode; |
|
|
ejtag_info->idcode = idcode; |
|
|
|
|
|
|
|
|
if (((idcode >> 1) & 0x7FF) == 0x29) |
|
|
if (((idcode >> 1) & 0x7FF) == 0x29) |
|
|