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.tcl6
1 files changed, 6 insertions, 0 deletions
diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/chip/lm4/openocd/lm4x_cmds.tcl
index c3347c5b0b..a0465ed677 100644
--- a/chip/lm4/openocd/lm4x_cmds.tcl
+++ b/chip/lm4/openocd/lm4x_cmds.tcl
@@ -51,3 +51,9 @@ proc ramboot_link { } {
proc ramboot_bds { } {
ramboot_lm4 ../../../build/bds/ec.RO.flat
}
+
+proc flash_emerged_link { } {
+ set firmware_image ../../../../../../chroot/build/link/firmware/ec.bin
+
+ flash_lm4 $firmware_image 0 262144
+}