From 56c5f6361e43113846920552f5a5d2b3147ae16a Mon Sep 17 00:00:00 2001
From: Zachary T Welch <zw@superlucidity.net>
Date: Sun, 6 Dec 2009 20:15:08 -0800
Subject: fix NOR flash regression

When factoring the bank setup command into flash_bank_add(), I forgot
to include a call to the new helper.
---
 src/flash/nor/tcl.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src')

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;
 
 }
-- 
cgit v1.2.3