fix NOR flash regression

When factoring the bank setup command into flash_bank_add(), I forgot
to include a call to the new helper.
This commit is contained in:
Zachary T Welch 2009-12-06 20:15:08 -08:00
parent dd9d1a3459
commit 56c5f6361e
1 changed files with 2 additions and 0 deletions

View File

@ -813,6 +813,8 @@ COMMAND_HANDLER(handle_flash_bank_command)
return retval; return retval;
} }
flash_bank_add(c);
return ERROR_OK; return ERROR_OK;
} }