summaryrefslogtreecommitdiff
path: root/src/flash/nand.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-17 13:07:36 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-19 13:39:41 -0800
commitff25e76bad7e57da4ebd363f1b35d4af04acaa67 (patch)
tree8f1fce0976f294941982b5e55d3b51e3924a4652 /src/flash/nand.h
parent870b8c04557f0b7441cc502debaf537984d77e2a (diff)
downloadopenocd+libswd-ff25e76bad7e57da4ebd363f1b35d4af04acaa67.tar.gz
openocd+libswd-ff25e76bad7e57da4ebd363f1b35d4af04acaa67.tar.bz2
openocd+libswd-ff25e76bad7e57da4ebd363f1b35d4af04acaa67.tar.xz
openocd+libswd-ff25e76bad7e57da4ebd363f1b35d4af04acaa67.zip
rename flash and nand command helpers
After adding support for referencing banks by name, renames the COMMAND_HELPERs appropriately: flash_command_get_bank_by_num -> flash_command_get_bank nand_command_get_device_by_num -> flash_command_get_device
Diffstat (limited to 'src/flash/nand.h')
-rw-r--r--src/flash/nand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nand.h b/src/flash/nand.h
index a1087715..d38ed67e 100644
--- a/src/flash/nand.h
+++ b/src/flash/nand.h
@@ -239,7 +239,7 @@ int nand_register_commands(struct command_context *cmd_ctx);
int nand_init(struct command_context *cmd_ctx);
/// helper for parsing a nand device command argument string
-COMMAND_HELPER(nand_command_get_device_by_num, unsigned name_index,
+COMMAND_HELPER(nand_command_get_device, unsigned name_index,
struct nand_device **nand);