summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}