Cortex-A8: support "reset-assert" event
commite0cb27df6bc595650ca6ce205803d3aa3218e262
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 28 Nov 2009 02:50:26 +0000 (27 18:50 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 28 Nov 2009 02:50:26 +0000 (27 18:50 -0800)
tree62a99e2b725a3c90b0e78129721579c818f3db5c
parent4e56a2303b3f68bb647d8bb640a830f7f21ea231
Cortex-A8: support "reset-assert" event

Use the new "reset-assert" event; else SRST; else fail.
Tested on an OMAP3, using the event.

NOTE:  still doesn't handle "reset halt".  For some reason
neither VCR nor PRCR seemed effective; they held the value
that was written, but VCR didn't trigger debug entry when
the reset vector fired (maybe the vector needs configuring?)
and PRCR refused to hold the chip in reset until deassert()
could force the core into debug state.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/cortex_a8.c