From af34e526dbcd7af9466b7d598eeadffe835017e1 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Mon, 30 Sep 2013 09:36:01 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/171081 Reviewed-by: Randall Spangler --- chip/lm4/openocd/lm4x_cmds.tcl | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'chip') 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 } -- cgit v1.2.1