From: Zachary T Welch Date: Mon, 7 Dec 2009 04:15:08 +0000 (-0800) Subject: fix NOR flash regression X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=56c5f6361e43113846920552f5a5d2b3147ae16a;p=fw%2Fopenocd fix NOR flash regression When factoring the bank setup command into flash_bank_add(), I forgot to include a call to the new helper. --- diff --git a/src/flash/nor/tcl.c b/src/flash/nor/tcl.c index 6598652c2..d417ca0f6 100644 --- a/src/flash/nor/tcl.c +++ b/src/flash/nor/tcl.c @@ -813,6 +813,8 @@ COMMAND_HANDLER(handle_flash_bank_command) return retval; } + flash_bank_add(c); + return ERROR_OK; }