diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-15 04:57:12 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-17 11:38:06 -0800 |
commit | 7bf1a86e473a12882bf6f71cb4d0d416394b69d4 (patch) | |
tree | 2c9c1d2138df704ac551cdafe105dbb68b8f23b8 /src/flash/mx3_nand.c | |
parent | 5b9899d6ea1e0cf763465c64c700f20eddd893f9 (diff) | |
download | riscv-openocd-7bf1a86e473a12882bf6f71cb4d0d416394b69d4.zip riscv-openocd-7bf1a86e473a12882bf6f71cb4d0d416394b69d4.tar.gz riscv-openocd-7bf1a86e473a12882bf6f71cb4d0d416394b69d4.tar.bz2 |
command_handler: change to 'argc' to CMD_ARGC
This patch converts all instances of 'argc' in COMMAND_HANDLER routines
to use CMD_ARGC.
Diffstat (limited to 'src/flash/mx3_nand.c')
-rw-r--r-- | src/flash/mx3_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/mx3_nand.c b/src/flash/mx3_nand.c index 45d2a32..49e1758 100644 --- a/src/flash/mx3_nand.c +++ b/src/flash/mx3_nand.c @@ -79,7 +79,7 @@ NAND_DEVICE_COMMAND_HANDLER(imx31_nand_device_command) LOG_ERROR ("target '%s' not defined", args[1]); return ERROR_FAIL; } - if (argc < 3) + if (CMD_ARGC < 3) { LOG_ERROR ("use \"nand device imx31 target noecc|hwecc\""); return ERROR_FAIL; |