summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2014-01-07 09:49:00 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-01-08 02:22:34 +0000
commit91abb52837429cf5b1e580f86bf4f2352a18fb5d (patch)
tree954f2c10b73ba37c9ee5ddd3c0bc6530dd10bea7 /chip
parent7964fa2bdc108efb20b0ce3b7dc4a161e951c28a (diff)
downloadchrome-ec-91abb52837429cf5b1e580f86bf4f2352a18fb5d.tar.gz
Add squawks board
Implement LED color policy (crosbug.com/p/23957) Update battery vendor information (crosbug.com/p/24684) BUG=chrome-os-partner:24885 BRANCH=rambi TEST=manual system on, lidclose -> power LED off system on, lidopen -> power LED on system suspended -> power LED blinks green every 2 sec system suspended, lid closed -> power LED off system off -> power LED off plug AC in, battfake 95 -> charging LED green plug AC in, battfake 94 -> charging LED orange unplug AC, battfake 10 -> charging LED off unplug AC, battfake 9 -> charging LED blinks orange battcutoff -> after a few sec, system powered down plug back in AC -> system comes back on charger -> I_in < 1700 Change-Id: I89161e2c024d85197b8612a40a61dd50c106549e Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/181755
Diffstat (limited to 'chip')
-rw-r--r--chip/lm4/openocd/lm4x_cmds.tcl9
1 files changed, 8 insertions, 1 deletions
diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/chip/lm4/openocd/lm4x_cmds.tcl
index 98c7f503c7..962ee9f033 100644
--- a/chip/lm4/openocd/lm4x_cmds.tcl
+++ b/chip/lm4/openocd/lm4x_cmds.tcl
@@ -35,7 +35,6 @@ proc flash_rambi { } {
flash_lm4 ../../../build/rambi/ec.bin 0
}
-# 128KB images
proc flash_samus { } {
flash_lm4 ../../../build/samus/ec.bin 0
}
@@ -48,6 +47,14 @@ 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
}