From 01dd733dadc3508ba8f3abf8de87248c835891df Mon Sep 17 00:00:00 2001 From: ntfreak Date: Mon, 11 Feb 2008 09:11:50 +0000 Subject: - 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 --- src/flash/tms470.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/flash') 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) -- cgit v1.2.3