Files
openocd/src/target
David Brownell 2a8aa3b7ef xscale: always reload handler after reset
Remove needless debug handler state.

 - "handler_installed" became wrong as soon as the second TRST+SRST
   reset was issued ... so the handler was never reloaded after the
   reset removed it from the mini-icache.

   This fixes the bug where subsequent resets fail on PXA255 (if the
   first one even worked, which is uncommon).  Other XScale chips
   would have problems too; PXA270 seems to have, IXP425 maybe not.

 - "handler_running" was never tested; it's pointless.

Plus a related bugfix: invalidate OpenOCD's ARM register cache on reset.
It was no more valid than the XScale's mini-icache.  (Though ... such
invalidations might be better done in "SRST asserted" callbacks.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-25 13:06:47 -07:00
..
2009-10-07 15:31:33 +00:00
2009-10-13 12:22:23 +02:00
2009-10-14 20:04:33 -07:00
2009-10-17 17:47:52 -07:00
2009-09-09 06:28:49 +00:00
2009-10-13 19:16:57 +02:00
2009-09-12 08:10:19 +00:00
2009-07-21 20:15:11 +00:00
2009-09-30 17:24:43 +00:00
2009-10-22 12:01:27 -07:00
2009-06-23 22:44:17 +00:00
2009-07-16 10:30:50 +00:00
2009-06-23 22:44:17 +00:00
2009-06-18 07:11:40 +00:00