summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
Diffstat (limited to 'chip')
-rw-r--r--chip/lm4/openocd/lm4x_cmds.tcl14
1 files changed, 13 insertions, 1 deletions
diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/chip/lm4/openocd/lm4x_cmds.tcl
index ff0ff69ea6..0a28be4e0a 100644
--- a/chip/lm4/openocd/lm4x_cmds.tcl
+++ b/chip/lm4/openocd/lm4x_cmds.tcl
@@ -39,7 +39,19 @@ proc flash_rambi { } {
flash_lm4 ../../../build/rambi/ec.bin 0
}
-# Bolt/slippy/falco/peppy have 128KB images
+# 128KB images
+proc flash_samus { } {
+ flash_lm4 ../../../build/samus/ec.bin 0
+}
+
+proc flash_samus_ro { } {
+ flash_lm4 ../../../build/samus/ec.RO.flat 0
+}
+
+proc flash_samus_rw { } {
+ flash_lm4 ../../../build/samus/ec.RW.bin 131072
+}
+
proc flash_bolt { } {
flash_lm4 ../../../build/bolt/ec.bin 0
}