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
This commit is contained in:
Zachary T Welch
2009-11-17 13:07:36 -08:00
parent 870b8c0455
commit ff25e76bad
13 changed files with 44 additions and 44 deletions

View File

@@ -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);