Cortex-M3: minor cleanup
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 5 Nov 2009 09:03:54 +0000 (01:03 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 5 Nov 2009 09:03:54 +0000 (01:03 -0800)
commit8fb2baaa6b428bd50165f045749786c34857ab02
tree2ece78c238da0ac617b443303a45e0711a1a9060
parent7acb2607ff79336174014ddfc313433ada9abc44
Cortex-M3: minor cleanup

There's no reason to read which interrupts are enabled from
the NVIC; that state isn't used.  Plus, it's highly dynamic
since firmware can change it at any time; remove the support
for those state records.

Remove duplicate definition of DWT_CTRL address; shrink a line.

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