use FLASH_BANK_COMMAND_HANDLER macro

Defines all flash_bank_command handlers using the new macro.
This commit is contained in:
Zachary T Welch
2009-11-10 01:41:30 -08:00
parent 57c5c5f463
commit 0796dfff89
18 changed files with 18 additions and 26 deletions

View File

@@ -235,7 +235,7 @@ static int str9xpec_build_block_list(struct flash_bank_s *bank)
/* flash bank str9x <base> <size> 0 0 <target#>
*/
static int str9xpec_flash_bank_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, struct flash_bank_s *bank)
FLASH_BANK_COMMAND_HANDLER(str9xpec_flash_bank_command)
{
str9xpec_flash_controller_t *str9xpec_info;
armv4_5_common_t *armv4_5 = NULL;