From 04ebb43f93ca4ce5ae891da1d5d819705ec9368c Mon Sep 17 00:00:00 2001 From: Jan Matyas Date: Wed, 15 May 2019 07:38:51 +0200 Subject: [PATCH] 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: 6cb5ba6f1136df2986850f5c176cb38e34ca1795 Change-Id: I6cb0909439a632d3109edfc68070b9b561f86d49 Signed-off-by: Jan Matyas Reviewed-on: http://openocd.zylin.com/5176 Reviewed-by: Tomas Vanek Reviewed-by: Antonio Borneo Tested-by: jenkins --- src/jtag/drivers/imx_gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jtag/drivers/imx_gpio.c b/src/jtag/drivers/imx_gpio.c index 196d0e4a1..4923dab39 100644 --- a/src/jtag/drivers/imx_gpio.c +++ b/src/jtag/drivers/imx_gpio.c @@ -323,7 +323,7 @@ COMMAND_HANDLER(imx_gpio_handle_speed_coeffs) 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); return ERROR_OK; } @@ -333,7 +333,7 @@ COMMAND_HANDLER(imx_gpio_handle_peripheral_base) if (CMD_ARGC == 1) 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); return ERROR_OK; }