cfg: add Blizzard class to stellaris.cfg
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 1 Nov 2011 21:12:58 +0000 (21:12 +0000)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Wed, 2 Nov 2011 23:30:06 +0000 (23:30 +0000)
Change-Id: I2a1320c696b6d9b070e4a927c4cd4d68178af751
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/150
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
tcl/target/stellaris.cfg

index 7fef4ec21ce7dd532ae1078f9a5a1fb53fa45c1e..3ab5c0b97d01c3d34965914c575972d5de3a51bb 100644 (file)
@@ -153,11 +153,12 @@ $_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
+       if {$device_class == 0 || $device_class == 1 ||
+               $device_class == 3 || $device_class == 5} {
+               # Sandstorm, Fury, DustDevil and Blizzard are able to use NVIC SYSRESETREQ
                cortex_m3 reset_config sysresetreq
        } else {
-               # Tempest and newer default to using NVIC VECTRESET
+               # Tempest and Firestorm default to using NVIC VECTRESET
                # peripherals will need reseting manually, see proc reset_peripherals
                cortex_m3 reset_config vectreset