]> git.sur5r.net Git - openocd/commitdiff
fix NOR flash regression
authorZachary T Welch <zw@superlucidity.net>
Mon, 7 Dec 2009 04:15:08 +0000 (20:15 -0800)
committerZachary T Welch <zw@superlucidity.net>
Mon, 7 Dec 2009 04:15:08 +0000 (20:15 -0800)
When factoring the bank setup command into flash_bank_add(), I forgot
to include a call to the new helper.

src/flash/nor/tcl.c

index 6598652c2bbf5da16b0c5e16d04b89b5d8d39268..d417ca0f6f92e4ba0f69536032b89a866d2b7a5f 100644 (file)
@@ -813,6 +813,8 @@ COMMAND_HANDLER(handle_flash_bank_command)
                return retval;
        }
 
+       flash_bank_add(c);
+
        return ERROR_OK;
 
 }