summaryrefslogtreecommitdiff
path: root/src/pld
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-16 14:17:31 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-16 14:17:31 -0800
commit1cd7b3b49b33860a5652b9dd2829e9ed71ac6289 (patch)
treeb15ef53d2f55941e0f905ea6d0f6809ad17dcdc8 /src/pld
parent6f2b9ea9e158aa116937b234a9c069bfef1f4238 (diff)
downloadopenocd_libswd-1cd7b3b49b33860a5652b9dd2829e9ed71ac6289.tar.gz
openocd_libswd-1cd7b3b49b33860a5652b9dd2829e9ed71ac6289.tar.bz2
openocd_libswd-1cd7b3b49b33860a5652b9dd2829e9ed71ac6289.tar.xz
openocd_libswd-1cd7b3b49b33860a5652b9dd2829e9ed71ac6289.zip
stellaris: probe() cleanups
Fix potential memory leak: make sure the per-bank data structures are only allocated in probe(), and that calling probe() multiple times is a NOP. Use it for auto_probe(). Require probe() to have done its thing: don't make access routines cope with it not having been called. Shrink a bunch of failure paths; and in some cases, correct them. Don't needlessly insist on a halted target for probe(). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/pld')
0 files changed, 0 insertions, 0 deletions