diff options
author | Namyoon Woo <namyoon@chromium.org> | 2019-02-13 12:07:12 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-02-21 02:25:23 -0800 |
commit | b88737c61c0bdb70c69d2eb95360095f6f07e5fd (patch) | |
tree | 5b620168d1071e54db6bfc8f9f48dba08e161700 /Makefile | |
parent | 27836f5fa97eee3479c56ddca6892a5ed0c887bd (diff) | |
download | chrome-ec-b88737c61c0bdb70c69d2eb95360095f6f07e5fd.tar.gz |
iteflash: add '-m' flag to config I2C MUX channel.
This CL enables iteflash to config I2C MUX to choose EC channel
without Servo/Dut-control.
Iteflash in CCD mode used to have servo-independence since DragonEgg,
but Octopus ITE boards now have I2C MUX, which needs to be configured.
This is to keep this servo-indepence in CCD mode.
BUG=b:123901082
BRANCH=none
TEST=manually ran iteflash with or without -m on duts with ITE EC.
[Ampton]
(checked dut_i2c_mux is none.)
$ ./build/ampton/util/iteflash -W 1 -c ccd -e -w ${IMG}
failed
$ ./build/ampton/util/iteflash -W 1 -c ccd -r ${IMG_READ}
failed
$ ./build/ampton/util/iteflash -W 1 -c ccd -e -w ${IMG} -m
$ ./build/ampton/util/iteflash -W 1 -c ccd -r ${IMG_READ} -m
[Bip]
(checked dut_i2c_mux is none.)
$ ./build/bip/util/iteflash -W 1 -c ccd -e -w ${IMG}
failed
$ ./build/bip/util/iteflash -W 1 -c ccd -r ${IMG_READ}
failed
$ ./build/ampton/util/iteflash -W 1 -c ccd -e -w ${IMG} -m
$ ./build/ampton/util/iteflash -W 1 -c ccd -r ${IMG_READ} -m
[DragonEgg]
$ ./build/dragonegg/util/iteflash -W 1 -c ccd -e -w ${IMG}
$ ./build/dragonegg/util/iteflash -W 1 -c ccd -r ${IMG_READ}
$ ./build/dragonegg/util/iteflash -W 1 -c ccd -e -w ${IMG} -m
failed
$ ./build/dragonegg/util/iteflash -W 1 -c ccd -r ${IMG_READ} -m
failed
Change-Id: I9be14a350d32f7716c583b1e5d5b568c16d09dbf
Signed-off-by: Namyoon Woo <namyoon@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1470782
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions