summaryrefslogtreecommitdiff
path: root/chip/lm4
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2015-06-09 11:15:06 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-10 18:24:05 +0000
commitfe9e3bf56532b33a9d99b9372b53905dece5907b (patch)
tree6bffb4bdd8ad8bac679e44d021eaf21bcb557fbd /chip/lm4
parent4e5b020ca917e99c1e68523e4c5aec518b7d9510 (diff)
downloadchrome-ec-fe9e3bf56532b33a9d99b9372b53905dece5907b.tar.gz
Remove obsolete board-specific code
Now that we've removed boards from ToT, also delete board-specific code used only by the removed boards. There are still more things to remove (unused charging chips, LED drivers, COMx support). More CLs coming. BUG=chromium:493866 BRANCH=none TEST=make buildall -j Change-Id: Ie6bdeaf96e61cadd77e3f6336c73b9b54ff4eabb Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/276524 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'chip/lm4')
-rw-r--r--chip/lm4/openocd/lm4x_cmds.tcl53
1 files changed, 0 insertions, 53 deletions
diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/chip/lm4/openocd/lm4x_cmds.tcl
index aefca8e96e..601d03e445 100644
--- a/chip/lm4/openocd/lm4x_cmds.tcl
+++ b/chip/lm4/openocd/lm4x_cmds.tcl
@@ -14,19 +14,6 @@ proc flash_lm4 {path offset} {
reset
}
-proc flash_link { } {
- flash_lm4 ../../../build/link/ec.bin 0
-}
-
-proc flash_link_ro { } {
- flash_lm4 ../../../build/link/ec.RO.flat 0
-}
-
-# Link originally had 80KB images, but TOT builds 128KB images
-proc flash_link_rw { } {
- flash_lm4 ../../../build/link/ec.RW.bin 131072
-}
-
proc flash_auron { } {
flash_lm4 ../../../build/auron/ec.bin 0
}
@@ -51,22 +38,6 @@ proc flash_samus_rw { } {
flash_lm4 ../../../build/samus/ec.RW.bin 131072
}
-proc flash_squawks { } {
- flash_lm4 ../../../build/squawks/ec.bin 0
-}
-
-proc flash_squawks_ro { } {
- flash_lm4 ../../../build/squawks/ec.RO.flat 0
-}
-
-proc flash_falco { } {
- flash_lm4 ../../../build/falco/ec.bin 0
-}
-
-proc flash_peppy { } {
- flash_lm4 ../../../build/peppy/ec.bin 0
-}
-
proc flash_rambi_ro { } {
flash_lm4 ../../../build/rambi/ec.RO.flat 0
}
@@ -75,20 +46,6 @@ proc flash_rambi_rw { } {
flash_lm4 ../../../build/rambi/ec.RW.bin 131072
}
-# link has pstate in last sector
-proc unprotect_link { } {
- reset halt
- flash erase_sector 0 254 255
- reset
-}
-
-# Peppy/falco have pstate following RO
-proc unprotect_peppy { } {
- reset halt
- flash erase_sector 0 126 127
- reset
-}
-
# Auron have pstate following RO
proc unprotect_auron { } {
reset halt
@@ -105,16 +62,6 @@ proc ramboot_lm4 {path} {
resume
}
-proc ramboot_link { } {
- ramboot_lm4 ../../../build/link/ec.RO.flat
-}
-
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
-}