|
From: <oh...@ma...> - 2009-06-03 18:36:14
|
Author: oharboe
Date: 2009-06-03 18:36:01 +0200 (Wed, 03 Jun 2009)
New Revision: 2033
Modified:
trunk/src/jtag/jtag.c
Log:
use assert() for obscure check on illegal arguments upon trst being asserted while commands are queued
Modified: trunk/src/jtag/jtag.c
===================================================================
--- trunk/src/jtag/jtag.c 2009-06-03 12:12:21 UTC (rev 2032)
+++ trunk/src/jtag/jtag.c 2009-06-03 16:36:01 UTC (rev 2033)
@@ -387,12 +387,7 @@
static void jtag_prelude1(void)
{
- if (jtag_trst == 1)
- {
- LOG_WARNING("JTAG command queued, while TRST is low (TAP in reset)");
- jtag_error=ERROR_JTAG_TRST_ASSERTED;
- return;
- }
+ assert(jtag_trst == 0);
if (cmd_queue_end_state == TAP_RESET)
jtag_call_event_callbacks(JTAG_TRST_ASSERTED);
|