Browse Source

jlink: harmonise the device name to J-Link

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
tags/v0.5.0-rc1
Jean-Christophe PLAGNIOL-VILLARD 13 years ago
committed by Øyvind Harboe
parent
commit
99cd373019
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/jtag/drivers/jlink.c

+ 4
- 4
src/jtag/drivers/jlink.c View File

@@ -580,7 +580,7 @@ static int jlink_get_version_info(void)
}

jlink_caps = buf_get_u32(usb_in_buffer, 0, 32);
LOG_INFO("JLink caps 0x%x", (unsigned)jlink_caps);
LOG_INFO("J-Link caps 0x%x", (unsigned)jlink_caps);

if (jlink_caps & (1 << EMU_CAP_GET_HW_VERSION))
{
@@ -599,7 +599,7 @@ static int jlink_get_version_info(void)
if (major_revision >= 5)
jlink_hw_jtag_version = 3;

LOG_INFO("JLink hw version %i", (int)jlink_hw_version);
LOG_INFO("J-Link hw version %i", (int)jlink_hw_version);
}

if (jlink_caps & (1 << EMU_CAP_GET_MAX_BLOCK_SIZE))
@@ -615,7 +615,7 @@ static int jlink_get_version_info(void)
}

jlink_max_size = buf_get_u32(usb_in_buffer, 0, 32);
LOG_INFO("JLink max mem block %i", (int)jlink_max_size);
LOG_INFO("J-Link max mem block %i", (int)jlink_max_size);
}

return ERROR_OK;
@@ -636,7 +636,7 @@ COMMAND_HANDLER(jlink_handle_jlink_hw_jtag_command)
{
switch (CMD_ARGC) {
case 0:
command_print(CMD_CTX, "jlink hw jtag %i", jlink_hw_jtag_version);
command_print(CMD_CTX, "J-Link hw jtag %i", jlink_hw_jtag_version);
break;
case 1: {
int request_version = atoi(CMD_ARGV[0]);


Loading…
Cancel
Save