summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2014-11-04 09:28:30 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-11-05 19:48:26 +0000
commit4792db413f03c4f4fe486f10037d01d3b457bc45 (patch)
treee26c7885ab336e430af40aac9a3b74c8da285aac
parent8513e23df17be689c42b6d904d57694fbe2ffd88 (diff)
downloadchrome-ec-4792db413f03c4f4fe486f10037d01d3b457bc45.tar.gz
ectool: compile LPC and i2C support by default.
Currently, LPC or I2C are compiled based on the board.h. This is not really necessary, code can handle both at the same time. Note that LPC and I2C access mode are backup modes, the main mode is dev (accessing ECs through /dev/cros_XX). BRANCH=None BUG=chromium:408713 TEST=Compile, tested on Ryu and Samus. Change-Id: I8b4730f0f5708c543dc034165e9b53de0e543860 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/227432 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
-rw-r--r--util/build.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/util/build.mk b/util/build.mk
index a4be071d16..de6f4297e1 100644
--- a/util/build.mk
+++ b/util/build.mk
@@ -11,11 +11,10 @@ host-util-bin=ectool lbplay burn_my_ec stm32mon ec_sb_firmware_update lbcc
comm-objs=$(util-lock-objs:%=lock/%) comm-host.o comm-dev.o
ifeq ($(CHIP),mec1322)
comm-objs+=comm-mec1322.o
-else ifeq ($(CONFIG_LPC),y)
-comm-objs+=comm-lpc.o
else
-comm-objs+=comm-i2c.o
+comm-objs+=comm-lpc.o
endif
+comm-objs+=comm-i2c.o
ectool-objs=ectool.o ectool_keyscan.o misc_util.o ec_flash.o $(comm-objs)
ec_sb_firmware_update-objs=ec_sb_firmware_update.o $(comm-objs) misc_util.o