From: Zachary T Welch Date: Mon, 7 Dec 2009 04:15:08 +0000 (-0800) Subject: fix NOR flash regression X-Git-Tag: v0.4.0-rc1~92 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=56c5f6361e43113846920552f5a5d2b3147ae16a;p=openocd 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 6598652c..d417ca0f 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; }