summaryrefslogtreecommitdiff
path: root/chip/lm4/openocd/lm4x_cmds.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/openocd/lm4x_cmds.tcl')
-rw-r--r--chip/lm4/openocd/lm4x_cmds.tcl12
1 files changed, 12 insertions, 0 deletions
diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/chip/lm4/openocd/lm4x_cmds.tcl
index 08d070cca6..497f24ac44 100644
--- a/chip/lm4/openocd/lm4x_cmds.tcl
+++ b/chip/lm4/openocd/lm4x_cmds.tcl
@@ -59,6 +59,10 @@ proc flash_glimmer_rw { } {
flash_lm4 ../../../build/glimmer/ec.RW.bin 131072
}
+proc flash_ninja { } {
+ flash_lm4 ../../../build/ninja/ec.bin 0
+}
+
proc flash_rambi { } {
flash_lm4 ../../../build/rambi/ec.bin 0
}
@@ -163,6 +167,14 @@ proc flash_clapper_rw { } {
flash_lm4 ../../../build/clapper/ec.RW.bin 131072
}
+proc flash_ninja_ro { } {
+ flash_lm4 ../../../build/ninja/ec.RO.flat 0
+}
+
+proc flash_ninja_rw { } {
+ flash_lm4 ../../../build/ninja/ec.RW.bin 131072
+}
+
proc flash_winky { } {
flash_lm4 ../../../build/winky/ec.bin 0
}