diff options
Diffstat (limited to 'chip/lm4/openocd/lm4x_cmds.tcl')
-rw-r--r-- | chip/lm4/openocd/lm4x_cmds.tcl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/chip/lm4/openocd/lm4x_cmds.tcl index c1e8d228ce..1806e7307f 100644 --- a/chip/lm4/openocd/lm4x_cmds.tcl +++ b/chip/lm4/openocd/lm4x_cmds.tcl @@ -127,6 +127,18 @@ proc flash_winky_rw { } { flash_lm4 ../../../build/winky/ec.RW.bin 131072 } +proc flash_kip { } { + flash_lm4 ../../../build/kip/ec.bin 0 +} + +proc flash_kip_ro { } { + flash_lm4 ../../../build/kip/ec.RO.flat 0 +} + +proc flash_kip_rw { } { + flash_lm4 ../../../build/kip/ec.RW.bin 131072 +} + # link has pstate in last sector proc unprotect_link { } { reset halt |