aboutsummaryrefslogtreecommitdiff
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
parentdd9d1a3459f7b38e2af99bdbafd322cacc9dacc2 (diff)
downloadriscv-openocd-56c5f6361e43113846920552f5a5d2b3147ae16a.zip
riscv-openocd-56c5f6361e43113846920552f5a5d2b3147ae16a.tar.gz
riscv-openocd-56c5f6361e43113846920552f5a5d2b3147ae16a.tar.bz2
fix NOR flash regression
When factoring the bank setup command into flash_bank_add(), I forgot to include a call to the new helper.
-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 6598652..d417ca0 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;
}