flash: add flash bank name support
commit7b36d2a229ecde1a497773233ee1850bb10d80a7
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Wed, 12 May 2010 21:40:19 +0000 (12 22:40 +0100)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 13 May 2010 19:44:07 +0000 (13 20:44 +0100)
treea0d54393822fd8c00663f50727014c645e450bf0
parent7b76da57f471e77a24519c10927aab79890783a9
flash: add flash bank name support

flash cmds can now be passed either the bank name or the bank number.
For example.
flash info stm32.flash
flash info 0

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/flash/nor/tcl.c