From: Peter Stuge Date: Sun, 24 Oct 2010 14:28:48 +0000 (+0200) Subject: Make systesetreq typos read sysresetreq instead X-Git-Tag: v0.5.0-rc1~371 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f176278e98536981a212c0cfcee75ec94ab2c158;p=openocd Make systesetreq typos read sysresetreq instead Signed-off-by: Peter Stuge --- diff --git a/src/target/cortex_m3.c b/src/target/cortex_m3.c index 3011b597..3f080f13 100644 --- a/src/target/cortex_m3.c +++ b/src/target/cortex_m3.c @@ -2127,7 +2127,7 @@ COMMAND_HANDLER(handle_cortex_m3_reset_config_command) if (CMD_ARGC > 0) { - if (strcmp(*CMD_ARGV, "systesetreq") == 0) + if (strcmp(*CMD_ARGV, "sysresetreq") == 0) cortex_m3->soft_reset_config = CORTEX_M3_RESET_SYSRESETREQ; else if (strcmp(*CMD_ARGV, "vectreset") == 0) cortex_m3->soft_reset_config = CORTEX_M3_RESET_VECTRESET; diff --git a/tcl/target/stellaris.cfg b/tcl/target/stellaris.cfg index bfe9087c..e206a9c8 100644 --- a/tcl/target/stellaris.cfg +++ b/tcl/target/stellaris.cfg @@ -80,7 +80,7 @@ $_TARGETNAME configure -event reset-start { set device_class [expr (([mrw 0x400fe000] >> 16) & 0xff)] if {$device_class == 0 || $device_class == 1 || $device_class == 3} { # Sandstorm, Fury and DustDevil are able to use NVIC SYSRESETREQ - cortex_m3 reset_config systesetreq + cortex_m3 reset_config sysresetreq } else { # Tempest and newer default to using NVIC VECTRESET # this does mean a reset-init event handler is required to reset