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.tcl11
1 files changed, 11 insertions, 0 deletions
diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/chip/lm4/openocd/lm4x_cmds.tcl
index a5c6c95f76..8d16b76d91 100644
--- a/chip/lm4/openocd/lm4x_cmds.tcl
+++ b/chip/lm4/openocd/lm4x_cmds.tcl
@@ -175,6 +175,17 @@ proc flash_gnawty_rw { } {
flash_lm4 ../../../build/gnawty/ec.RW.bin 131072
}
+proc flash_tiny { } {
+ flash_lm4 ../../../build/tiny/ec.bin 0
+}
+
+proc flash_tiny_ro { } {
+ flash_lm4 ../../../build/tiny/ec.RO.flat 0
+}
+
+proc flash_tiny_rw { } {
+ flash_lm4 ../../../build/tiny/ec.RW.bin 131072
+}
# link has pstate in last sector
proc unprotect_link { } {