ocd_flash_banks now returns empty list when no flash banks are configured instead...
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 7 Nov 2008 09:36:55 +0000 (09:36 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 7 Nov 2008 09:36:55 +0000 (09:36 +0000)
commit2ded1b60e6fce2f613fe878fa55cce719a538467
treec0e534083fbdf96876ae9be0a14fad42e3705898
parent26095d6612d60b470298e7136e7ffd6c74c9f371
ocd_flash_banks now returns empty list when no flash banks are configured instead of failing. Allows more orthogonal implementations of tcl code.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1147 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/flash/flash.c