Convert DEBUG_JTAG_IO to LOG_DEBUG_IO
Change-Id: Ifee9723a57fea93a7022be3299f69680860f236b Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/3910 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
committed by
Tomas Vanek
parent
eea508d9af
commit
8b9560349f
@@ -150,7 +150,7 @@ static int aice_execute_reset(struct jtag_command *cmd)
|
||||
static int last_trst;
|
||||
int retval = ERROR_OK;
|
||||
|
||||
DEBUG_JTAG_IO("reset trst: %d", cmd->cmd.reset->trst);
|
||||
LOG_DEBUG_IO("reset trst: %d", cmd->cmd.reset->trst);
|
||||
|
||||
if (cmd->cmd.reset->trst != last_trst) {
|
||||
if (cmd->cmd.reset->trst)
|
||||
|
||||
@@ -400,7 +400,7 @@ static int aice_usb_write(uint8_t *out_buffer, int out_length)
|
||||
result = usb_bulk_write_ex(aice_handler.usb_handle, aice_handler.usb_write_ep,
|
||||
(char *)out_buffer, out_length, AICE_USB_TIMEOUT);
|
||||
|
||||
DEBUG_JTAG_IO("aice_usb_write, out_length = %i, result = %i",
|
||||
LOG_DEBUG_IO("aice_usb_write, out_length = %i, result = %i",
|
||||
out_length, result);
|
||||
|
||||
return result;
|
||||
@@ -412,7 +412,7 @@ static int aice_usb_read(uint8_t *in_buffer, int expected_size)
|
||||
int32_t result = usb_bulk_read_ex(aice_handler.usb_handle, aice_handler.usb_read_ep,
|
||||
(char *)in_buffer, expected_size, AICE_USB_TIMEOUT);
|
||||
|
||||
DEBUG_JTAG_IO("aice_usb_read, result = %" PRId32, result);
|
||||
LOG_DEBUG_IO("aice_usb_read, result = %" PRId32, result);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user