diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-16 14:17:31 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-12-16 14:17:31 -0800 |
commit | 1cd7b3b49b33860a5652b9dd2829e9ed71ac6289 (patch) | |
tree | b15ef53d2f55941e0f905ea6d0f6809ad17dcdc8 /tcl/target/at91sam9260.cfg | |
parent | 6f2b9ea9e158aa116937b234a9c069bfef1f4238 (diff) | |
download | openocd_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 'tcl/target/at91sam9260.cfg')
0 files changed, 0 insertions, 0 deletions