diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-17 13:07:36 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-19 13:39:41 -0800 |
commit | ff25e76bad7e57da4ebd363f1b35d4af04acaa67 (patch) | |
tree | 8f1fce0976f294941982b5e55d3b51e3924a4652 /src/flash/avrf.c | |
parent | 870b8c04557f0b7441cc502debaf537984d77e2a (diff) | |
download | riscv-openocd-ff25e76bad7e57da4ebd363f1b35d4af04acaa67.zip riscv-openocd-ff25e76bad7e57da4ebd363f1b35d4af04acaa67.tar.gz riscv-openocd-ff25e76bad7e57da4ebd363f1b35d4af04acaa67.tar.bz2 |
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/avrf.c')
-rw-r--r-- | src/flash/avrf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/avrf.c b/src/flash/avrf.c index 20c619d..356c404 100644 --- a/src/flash/avrf.c +++ b/src/flash/avrf.c @@ -426,7 +426,7 @@ COMMAND_HANDLER(avrf_handle_mass_erase_command) } struct flash_bank *bank; - int retval = CALL_COMMAND_HANDLER(flash_command_get_bank_by_num, 0, &bank); + int retval = CALL_COMMAND_HANDLER(flash_command_get_bank, 0, &bank); if (ERROR_OK != retval) return retval; |