cortex_m3: change cortec_m3 reset_config behaviour

Currently the cmd 'cortex_m3 reset_config' will overide the default
target's 'reset_config'.
Chnage the behaviour to use the target 'reset_config' if configured and
fallback if not.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
Spencer Oliver
2010-12-02 12:58:50 +00:00
parent c24087d33e
commit f0fac8a2cd
2 changed files with 2 additions and 19 deletions

View File

@@ -136,7 +136,6 @@ struct cortex_m3_dwt_comparator
enum cortex_m3_soft_reset_config
{
CORTEX_M3_RESET_SRST,
CORTEX_M3_RESET_SYSRESETREQ,
CORTEX_M3_RESET_VECTRESET,
};