cortex_m3: change cortec_m3 reset_config behaviour
commitf0fac8a2cda054b0040ef2387d9c0776e06d73a7
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 2 Dec 2010 12:58:50 +0000 (2 12:58 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Fri, 3 Dec 2010 09:02:07 +0000 (3 09:02 +0000)
treeb8c139eab5b0f89bd10eb96c3a8d2da49b264cb0
parentc24087d33ec75144ec5f579142152d8eb5ce50c9
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>
src/target/cortex_m3.c
src/target/cortex_m3.h