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 9c8f5e73d3..872fee3b3d 100644
--- a/chip/lm4/openocd/lm4x_cmds.tcl
+++ b/chip/lm4/openocd/lm4x_cmds.tcl
@@ -223,6 +223,18 @@ proc flash_candy_rw { } {
flash_lm4 ../../../build/candy/ec.RW.bin 131072
}
+proc flash_banjo { } {
+ flash_lm4 ../../../build/banjo/ec.bin 0
+}
+
+proc flash_banjo_ro { } {
+ flash_lm4 ../../../build/banjo/ec.RO.flat 0
+}
+
+proc flash_banjo_rw { } {
+ flash_lm4 ../../../build/banjo/ec.RW.bin 131072
+}
+
# link has pstate in last sector
proc unprotect_link { } {
reset halt