summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-06 20:15:08 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-06 20:15:08 -0800
commit56c5f6361e43113846920552f5a5d2b3147ae16a (patch)
tree1211c42c92b08265d407a4e346e28c1332914c49 /src
parentdd9d1a3459f7b38e2af99bdbafd322cacc9dacc2 (diff)
downloadopenocd+libswd-56c5f6361e43113846920552f5a5d2b3147ae16a.tar.gz
openocd+libswd-56c5f6361e43113846920552f5a5d2b3147ae16a.tar.bz2
openocd+libswd-56c5f6361e43113846920552f5a5d2b3147ae16a.tar.xz
openocd+libswd-56c5f6361e43113846920552f5a5d2b3147ae16a.zip
fix NOR flash regression
When factoring the bank setup command into flash_bank_add(), I forgot to include a call to the new helper.
Diffstat (limited to 'src')
-rw-r--r--src/flash/nor/tcl.c2
1 files changed, 2 insertions, 0 deletions
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;
}