summaryrefslogtreecommitdiff
path: root/board/reef_it8320
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-05-25 06:21:45 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-05-26 00:21:41 -0700
commit920d4bc14b082f1cbd8635134f8d22a94c4afb28 (patch)
treec5fe41e04b657740b77a40333d891372c2624324 /board/reef_it8320
parent5c5eba404c9ec8c1d728f5f6691a110aea1efbb0 (diff)
downloadchrome-ec-920d4bc14b082f1cbd8635134f8d22a94c4afb28.tar.gz
Makefile.rules: Add buildalltests target
In rare cases, it is useful to be able to build tests for all boards: buildall only builds the main image, but -paladin builders also builds test cases for each board. Also remove/fix tests for boards that currently fail. BRANCH=none BUG=b:35647963 TEST=make buildalltests -j, wait a long time, tests pass. Change-Id: Id6d978705a40a2045731cb08ad2ca5d62cc12ebb Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1072218 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/reef_it8320')
-rw-r--r--board/reef_it8320/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/reef_it8320/board.c b/board/reef_it8320/board.c
index 490d5c05f8..950f504d42 100644
--- a/board/reef_it8320/board.c
+++ b/board/reef_it8320/board.c
@@ -136,6 +136,7 @@ static int hc_pd_host_event_status(struct host_cmd_handler_args *args)
DECLARE_HOST_COMMAND(EC_CMD_PD_HOST_EVENT_STATUS, hc_pd_host_event_status,
EC_VER_MASK(0));
+#if defined(HAS_TASK_HOSTCMD) && !defined(TEST_BUILD)
/* Send host event up to AP */
void pd_send_host_event(int mask)
{
@@ -147,6 +148,7 @@ void pd_send_host_event(int mask)
/* interrupt the AP */
host_set_single_event(EC_HOST_EVENT_PD_MCU);
}
+#endif
const enum gpio_signal hibernate_wake_pins[] = {
GPIO_AC_PRESENT,