dsp563xx_once: Correct wrong return value on jtag communication errors
commitb7163f534a4bb753b768398af11055cd3a9718cc
authorMathias K <kesmtp@freenet.de>
Thu, 17 Feb 2011 08:05:42 +0000 (17 09:05 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 17 Feb 2011 08:22:17 +0000 (17 09:22 +0100)
treeef8d580e2c141e477313dd2d5ba6bcf87dc75cd3
parent0f863ecb0112e5032608b9b66ab4c69bfe43b12f
dsp563xx_once: Correct wrong return value on jtag communication errors

This patch change the return value on a jtag communication error
to TARGET_UNKNOWN because this function should return the current
target status and not a error code from the underlying api call.
Also the validity of the jtag_status is extended to all static
bits in this value.
src/target/dsp563xx_once.c