summaryrefslogtreecommitdiff
path: root/board/bolt/board.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-08-02 13:45:21 -0700
committerChromeBot <chrome-bot@google.com>2013-08-02 17:32:35 -0700
commit93536fbe55d309d335682b1fd5223f5389d0c456 (patch)
tree717bfec42c981f1821c2a3efc281d5fc82eb9dbb /board/bolt/board.c
parent889f7bdd3b77151dd5b749974c94a84ae8b2aeb8 (diff)
downloadchrome-ec-93536fbe55d309d335682b1fd5223f5389d0c456.tar.gz
Change one-wire bus to use normal gpio interface
There's no need for it to directly access the GPIO registers. That was only necessary at the beginning of link, when gpio_set_flags() didn't exist. BUG=chrome-os-partner:21612 BRANCH=none TEST=onewire red / onewire green / onewire yellow all set the adapter LED (tested on link, since I don't have a bolt, but the EC chip and adapter are identical) Change-Id: I2386962ff039bb2251be38eaadcaeae8ffd1ea7b Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/64375 Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'board/bolt/board.c')
-rw-r--r--board/bolt/board.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/bolt/board.c b/board/bolt/board.c
index c567749bff..ccdc8bce87 100644
--- a/board/bolt/board.c
+++ b/board/bolt/board.c
@@ -70,6 +70,7 @@ const struct gpio_info gpio_list[] = {
{"BOARD_VERSION2", LM4_GPIO_Q, (1<<6), GPIO_INPUT, NULL},
{"BOARD_VERSION3", LM4_GPIO_Q, (1<<7), GPIO_INPUT, NULL},
{"CPU_PGOOD", LM4_GPIO_C, (1<<4), GPIO_INPUT, NULL},
+ {"ONEWIRE", LM4_GPIO_F, (1<<7), GPIO_INPUT, NULL},
{"PCH_CATERR_L", LM4_GPIO_F, (1<<3), GPIO_INPUT, NULL},
{"THERMAL_DATA_READY_L", LM4_GPIO_B, (1<<0), GPIO_INPUT, NULL},
{"USB1_OC_L", LM4_GPIO_E, (1<<7), GPIO_INPUT, NULL},