ocd_flash_banks now returns empty list when no flash banks are configured instead...
commit05b3f94d72e71390b0adb1fd10e2e3e1c18bb588
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 7 Nov 2008 09:05:12 +0000 (7 09:05 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 7 Nov 2008 09:05:12 +0000 (7 09:05 +0000)
tree8f7c9c7278ea44de995973649cfc69c9c771c507
parent21e25ea7ba53313cf279d6366b6070c25d5b984c
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@1144 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/flash/flash.c