aboutsummaryrefslogtreecommitdiff
path: root/src/flash/lpc3180_nand_controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/lpc3180_nand_controller.c')
-rw-r--r--src/flash/lpc3180_nand_controller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/lpc3180_nand_controller.c b/src/flash/lpc3180_nand_controller.c
index 1de48f4..61bef90 100644
--- a/src/flash/lpc3180_nand_controller.c
+++ b/src/flash/lpc3180_nand_controller.c
@@ -846,7 +846,7 @@ COMMAND_HANDLER(handle_lpc3180_select_command)
struct nand_device *nand = get_nand_device_by_num(num);
if (!nand)
{
- command_print(cmd_ctx, "nand device '#%s' is out of bounds", CMD_ARGV[0]);
+ command_print(CMD_CTX, "nand device '#%s' is out of bounds", CMD_ARGV[0]);
return ERROR_OK;
}
@@ -868,7 +868,7 @@ COMMAND_HANDLER(handle_lpc3180_select_command)
}
}
- command_print(cmd_ctx, "%s controller selected", selected[lpc3180_info->selected_controller]);
+ command_print(CMD_CTX, "%s controller selected", selected[lpc3180_info->selected_controller]);
return ERROR_OK;
}