diff options
author | Yilun Lin <yllin@chromium.org> | 2019-08-26 17:01:16 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-29 05:11:44 +0000 |
commit | 2c12e10279e792710b7c803547151679116e2866 (patch) | |
tree | d3fe32fd27be2b7341da459f501a4f6abba8168f /Makefile.rules | |
parent | 4646e28429402438a294b93685bcea1d97f02b4d (diff) | |
download | chrome-ec-2c12e10279e792710b7c803547151679116e2866.tar.gz |
makefile: support PORT for flash_ec
Add variable PORT to select the flashing port.
TEST=make BOARD=kukui flash_ec PORT=9998, and flash success
BUG=none
BRANCH=none
Change-Id: Ic9ba318ffee70ec1f7789f2dcccc6025263e5436
Signed-off-by: Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1770330
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index 1279640453..1cef50aee8 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -624,7 +624,7 @@ flash: $(out)/ec.bin .PHONY: flash_ec flash_ec: $(out)/ec.bin - ./util/flash_ec --board $(BOARD) --image $(out)/ec.bin + ./util/flash_ec --board $(BOARD) --image $(out)/ec.bin --port $(PORT) .PHONY: flash_dfu flash_dfu: $(out)/ec.bin |