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 | |
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')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -64,6 +64,9 @@ PEM ?= $(BDIR)/dev_key.pem # If no bootblock is provided, just pack an empty file. BOOTBLOCK ?= +# Port for flash_ec. Defaults to 9999. +PORT ?= 9999 + # If CONFIG_TOUCHPAD_HASH_FW is set, include hashes of a touchpad firmware in # the EC image (if no touchpad firmware is provided, just output blank hashes). TOUCHPAD_FW ?= |