jtag: remove redundant id check
commit 5b0a131594
removed the need to check
for 0xffffffff.
Change-Id: Ib4d99bf1797ccd868ec15631dbc16079571a8dd6
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/728
Tested-by: jenkins
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
This commit is contained in:
parent
e8641695c6
commit
2c14497d0a
|
@ -962,10 +962,10 @@ static bool jtag_idcode_is_final(uint32_t idcode)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Some devices, such as AVR8, will output all 1's instead
|
* Some devices, such as AVR8, will output all 1's instead
|
||||||
* of TDI input value at end of chain. Allow those values
|
* of TDI input value at end of chain. Allow those values
|
||||||
* instead of failing.
|
* instead of failing.
|
||||||
*/
|
*/
|
||||||
return idcode == END_OF_CHAIN_FLAG || idcode == 0xFFFFFFFF;
|
return idcode == END_OF_CHAIN_FLAG;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue