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

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;
} }