summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-11 09:11:50 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-11 09:11:50 +0000
commit01dd733dadc3508ba8f3abf8de87248c835891df (patch)
tree8855a567f35bbad95152b36ff8ec0d763ff8b49c /src/flash
parentfdf58f74e0cbc1a23ba74f9c1a7dae3260a36fae (diff)
downloadopenocd_libswd-01dd733dadc3508ba8f3abf8de87248c835891df.tar.gz
openocd_libswd-01dd733dadc3508ba8f3abf8de87248c835891df.tar.bz2
openocd_libswd-01dd733dadc3508ba8f3abf8de87248c835891df.tar.xz
openocd_libswd-01dd733dadc3508ba8f3abf8de87248c835891df.zip
- telnet prompt behaves correctly for new synchronous halt/resume/reset commands
- removed unused variables in tms470.c git-svn-id: svn://svn.berlios.de/openocd/trunk@290 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/tms470.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/flash/tms470.c b/src/flash/tms470.c
index b7adf5aa..c3f3e8cc 100644
--- a/src/flash/tms470.c
+++ b/src/flash/tms470.c
@@ -430,7 +430,7 @@ tms470_try_flash_keys( target_t * target,
if (!(fmmstat & 0x08))
{
unsigned i;
- u32 fmmac2, fmbptr, fmbac2, fmbbusy, orig_fmregopt;
+ u32 fmbptr, fmbac2, orig_fmregopt;
target_write_u32( target, 0xFFE8BC04, fmmstat & ~0x07 );
@@ -496,7 +496,6 @@ tms470_try_flash_keys( target_t * target,
int
tms470_unlock_flash( struct flash_bank_s * bank )
{
- tms470_flash_bank_t * tms470_info = bank->driver_priv;
target_t * target = bank->target;
const u32 * p_key_sets[5];
unsigned i, key_set_count;
@@ -869,7 +868,6 @@ tms470_erase( struct flash_bank_s * bank,
int last )
{
tms470_flash_bank_t *tms470_info = bank->driver_priv;
- target_t *target = bank->target;
int sector, result = ERROR_OK;
if (!tms470_info->device_ident_reg)