summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-09-30 09:36:01 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-09-30 18:58:19 +0000
commitaf34e526dbcd7af9466b7d598eeadffe835017e1 (patch)
tree3bc1125494d8d10718e5ec5fb817fccc7ab1c559 /chip
parent6d522eef9d672c56335ece32cf3473a2e274bea9 (diff)
downloadchrome-ec-af34e526dbcd7af9466b7d598eeadffe835017e1.tar.gz
Create samus board config
This just does a copy/rename from Bolt. Tweaking for Samus' peculiarities will come next. BUG=chrome-os-partner:22870 BRANCH=none TEST=manual The only thing we can check is that it compiles: cd src/platform/ec make BOARD=samus Change-Id: Ied95ebdd1137548b21334b4a65a298c68482c517 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/171081 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/lm4/openocd/lm4x_cmds.tcl14
1 files changed, 13 insertions, 1 deletions
diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/chip/lm4/openocd/lm4x_cmds.tcl
index ff0ff69ea6..0a28be4e0a 100644
--- a/chip/lm4/openocd/lm4x_cmds.tcl
+++ b/chip/lm4/openocd/lm4x_cmds.tcl
@@ -39,7 +39,19 @@ proc flash_rambi { } {
flash_lm4 ../../../build/rambi/ec.bin 0
}
-# Bolt/slippy/falco/peppy have 128KB images
+# 128KB images
+proc flash_samus { } {
+ flash_lm4 ../../../build/samus/ec.bin 0
+}
+
+proc flash_samus_ro { } {
+ flash_lm4 ../../../build/samus/ec.RO.flat 0
+}
+
+proc flash_samus_rw { } {
+ flash_lm4 ../../../build/samus/ec.RW.bin 131072
+}
+
proc flash_bolt { } {
flash_lm4 ../../../build/bolt/ec.bin 0
}