summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-05-26 18:46:55 +0800
committerChromeBot <chrome-bot@google.com>2013-06-03 14:34:10 -0700
commit80105a95569c36b7a4d372c7e74f086ad27f5492 (patch)
tree368706c3d44566cb696ebf98018d1dfb7bcd7f80 /board
parent1806f521955623770405778a742d0398cae028a2 (diff)
downloadchrome-ec-80105a95569c36b7a4d372c7e74f086ad27f5492.tar.gz
Enable flash unit test on emulator
BUG=chrome-os-partner:19236 TEST=Pass all tests BRANCH=None Change-Id: I09276292499b94b2d4810830de51e4c63a9b7342 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/56704 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/host/board.c1
-rw-r--r--board/host/board.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/board/host/board.c b/board/host/board.c
index 10d8d1d3c4..0eda62b0ee 100644
--- a/board/host/board.c
+++ b/board/host/board.c
@@ -12,6 +12,7 @@ const struct gpio_info gpio_list[GPIO_COUNT] = {
{"EC_INT", 0, 0, 0, 0},
{"LID_OPEN", 0, 0, 0, 0},
{"POWER_BUTTON_L", 0, 0, 0, 0},
+ {"WP", 0, 0, 0, 0},
};
static int dummy_temp_get_val(int idx, int *temp_ptr)
diff --git a/board/host/board.h b/board/host/board.h
index 553f55c76c..632596b64d 100644
--- a/board/host/board.h
+++ b/board/host/board.h
@@ -20,10 +20,13 @@
#define CONFIG_POWER_BUTTON
#define CONFIG_TEMP_SENSOR
+#define CONFIG_WP_ACTIVE_HIGH
+
enum gpio_signal {
GPIO_EC_INT,
GPIO_LID_OPEN,
GPIO_POWER_BUTTON_L,
+ GPIO_WP,
GPIO_COUNT
};