diff options
author | Hsu Henry <Henry.Hsu@quantatw.com> | 2014-10-15 16:09:01 +0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-17 17:54:11 +0000 |
commit | 78f9b1d11f68805857beffddfb515374149f2fe9 (patch) | |
tree | 0b14ded206113dd5ee55b0a3b70b400c00b16d64 | |
parent | 750f52225fe5894ffdc38672d7d80ad56da95cd5 (diff) | |
download | chrome-ec-78f9b1d11f68805857beffddfb515374149f2fe9.tar.gz |
Paine, yuna: add flash tool support
Add flash tool support for paine and yuna.
Also remove i2c stress test suppurt.
BUG=none
BRANCH=paine,yuna
TEST=Run "flash_ec --board paine" "flash_ec --board yuna" with servo
board.
Change-Id: I5a5468cffde7c2ae8c55f9d6ff1d8c6afe3b7c2e
Signed-off-by: Henry Hsu <Henry.Hsu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/223227
Reviewed-by: Mohammed Habibulla <moch@chromium.org>
-rw-r--r-- | chip/lm4/openocd/lm4x_cmds.tcl | 8 | ||||
-rw-r--r-- | test/stress.c | 3 | ||||
-rwxr-xr-x | util/flash_ec | 2 |
3 files changed, 12 insertions, 1 deletions
diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/chip/lm4/openocd/lm4x_cmds.tcl index aefca8e96e..6dca30ae8d 100644 --- a/chip/lm4/openocd/lm4x_cmds.tcl +++ b/chip/lm4/openocd/lm4x_cmds.tcl @@ -35,6 +35,10 @@ proc flash_bds { } { flash_lm4 ../../../build/bds/ec.bin 0 } +proc flash_paine { } { + flash_lm4 ../../../build/paine/ec.bin 0 +} + proc flash_rambi { } { flash_lm4 ../../../build/rambi/ec.bin 0 } @@ -59,6 +63,10 @@ proc flash_squawks_ro { } { flash_lm4 ../../../build/squawks/ec.RO.flat 0 } +proc flash_yuna { } { + flash_lm4 ../../../build/yuna/ec.bin 0 +} + proc flash_falco { } { flash_lm4 ../../../build/falco/ec.bin 0 } diff --git a/test/stress.c b/test/stress.c index c9c5d7fa36..8dd3be6e20 100644 --- a/test/stress.c +++ b/test/stress.c @@ -47,7 +47,8 @@ struct i2c_test_param_t { }; /* Disable I2C test for boards without test configuration */ #if defined(BOARD_BDS) || defined(BOARD_MCCROSKEY) || \ - defined(BOARD_FALCO) || defined(BOARD_PEPPY) || defined(BOARD_AURON) + defined(BOARD_FALCO) || defined(BOARD_PEPPY) || defined(BOARD_AURON) \ + defined(BOARD_PAINE) || defined(BOARD_YUNA) #undef CONFIG_I2C #endif diff --git a/util/flash_ec b/util/flash_ec index 6a38176b1b..04f8426a92 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -48,10 +48,12 @@ die() { BOARDS_LM4=( auron falco + paine peppy rambi samus squawks + yuna ) BOARDS_LM4_USB=( |