Fix build.
Change-Id: Id96e590984eb8488f6367b4c8778e2dc5adf3c1b
This commit is contained in:
parent
e07613de33
commit
426d4fa27b
|
@ -657,7 +657,6 @@ static void ftdi_execute_command(struct jtag_command *cmd)
|
||||||
{
|
{
|
||||||
switch (cmd->type) {
|
switch (cmd->type) {
|
||||||
case JTAG_RESET:
|
case JTAG_RESET:
|
||||||
ftdi_execute_reset(cmd);
|
|
||||||
#if BUILD_FTDI_OSCAN1 == 1
|
#if BUILD_FTDI_OSCAN1 == 1
|
||||||
oscan1_reset_online_activate(); /* put the target back into OSCAN1 mode */
|
oscan1_reset_online_activate(); /* put the target back into OSCAN1 mode */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -408,7 +408,7 @@ int hwthread_read_buffer(struct rtos *rtos, target_addr_t address,
|
||||||
|
|
||||||
struct target *target = rtos->target;
|
struct target *target = rtos->target;
|
||||||
|
|
||||||
struct target *curr = find_thread(target, rtos->current_thread);
|
struct target *curr = hwthread_find_thread(target, rtos->current_thread);
|
||||||
if (curr == NULL)
|
if (curr == NULL)
|
||||||
return ERROR_FAIL;
|
return ERROR_FAIL;
|
||||||
|
|
||||||
|
@ -423,7 +423,7 @@ int hwthread_write_buffer(struct rtos *rtos, target_addr_t address,
|
||||||
|
|
||||||
struct target *target = rtos->target;
|
struct target *target = rtos->target;
|
||||||
|
|
||||||
struct target *curr = find_thread(target, rtos->current_thread);
|
struct target *curr = hwthread_find_thread(target, rtos->current_thread);
|
||||||
if (curr == NULL)
|
if (curr == NULL)
|
||||||
return ERROR_FAIL;
|
return ERROR_FAIL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue