jtag/drivers/imx_gpio: fixed calls to command_print
Two calls to command_print() in imx_gpio fixed - the first parameter
adjusted (CMD_CTX -> CMD) per the changes from this commit:
6cb5ba6f11
Change-Id: I6cb0909439a632d3109edfc68070b9b561f86d49
Signed-off-by: Jan Matyas <matyas@codasip.com>
Reviewed-on: http://openocd.zylin.com/5176
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
bscan_optimization
parent
ea45029829
commit
04ebb43f93
|
@ -323,7 +323,7 @@ COMMAND_HANDLER(imx_gpio_handle_speed_coeffs)
|
||||||
COMMAND_PARSE_NUMBER(int, CMD_ARGV[1], speed_offset);
|
COMMAND_PARSE_NUMBER(int, CMD_ARGV[1], speed_offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
command_print(CMD_CTX, "imx_gpio: speed_coeffs = %d, speed_offset = %d",
|
command_print(CMD, "imx_gpio: speed_coeffs = %d, speed_offset = %d",
|
||||||
speed_coeff, speed_offset);
|
speed_coeff, speed_offset);
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
@ -333,7 +333,7 @@ COMMAND_HANDLER(imx_gpio_handle_peripheral_base)
|
||||||
if (CMD_ARGC == 1)
|
if (CMD_ARGC == 1)
|
||||||
COMMAND_PARSE_NUMBER(u32, CMD_ARGV[0], imx_gpio_peri_base);
|
COMMAND_PARSE_NUMBER(u32, CMD_ARGV[0], imx_gpio_peri_base);
|
||||||
|
|
||||||
command_print(CMD_CTX, "imx_gpio: peripheral_base = 0x%08x",
|
command_print(CMD, "imx_gpio: peripheral_base = 0x%08x",
|
||||||
imx_gpio_peri_base);
|
imx_gpio_peri_base);
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue