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/davinci_nand.c | |
parent | 5b9899d6ea1e0cf763465c64c700f20eddd893f9 (diff) | |
download | openocd+libswd-7bf1a86e473a12882bf6f71cb4d0d416394b69d4.tar.gz openocd+libswd-7bf1a86e473a12882bf6f71cb4d0d416394b69d4.tar.bz2 openocd+libswd-7bf1a86e473a12882bf6f71cb4d0d416394b69d4.tar.xz openocd+libswd-7bf1a86e473a12882bf6f71cb4d0d416394b69d4.zip |
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/davinci_nand.c')
-rw-r--r-- | src/flash/davinci_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/davinci_nand.c b/src/flash/davinci_nand.c index 413bcda4..7c68be70 100644 --- a/src/flash/davinci_nand.c +++ b/src/flash/davinci_nand.c @@ -645,7 +645,7 @@ NAND_DEVICE_COMMAND_HANDLER(davinci_nand_device_command) * - aemif address * Plus someday, optionally, ALE and CLE masks. */ - if (argc < 5) { + if (CMD_ARGC < 5) { LOG_ERROR("parameters: %s target " "chip_addr hwecc_mode aemif_addr", args[0]); |