summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-08-30 12:14:18 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-09-05 03:10:19 +0000
commitb36222723b071e003729f75c11d9c42d812abbe3 (patch)
tree6f94c5f07240d80301dfd6b9ba4af510bada5d59 /board
parentba57c3141ae39aaf49738677beaf675b5b79cb77 (diff)
downloadchrome-ec-b36222723b071e003729f75c11d9c42d812abbe3.tar.gz
kirby: Rename AC_PRESENT to AC_PRESENT_L
This signal is active low (1=no AC, 0=AC good.) Renaming it to AC_PRESENT_L so that it's not confusing. BUG=chrome-os-partner:21964 TEST=Build kirby BRANCH=None Change-Id: I17b555945c647f4a24b1920cdb8992b3a5767462 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/167458
Diffstat (limited to 'board')
-rw-r--r--board/kirby/board.c2
-rw-r--r--board/kirby/board.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/kirby/board.c b/board/kirby/board.c
index 9301f938f0..786f4d6896 100644
--- a/board/kirby/board.c
+++ b/board/kirby/board.c
@@ -39,7 +39,7 @@ const struct gpio_info gpio_list[] = {
{"SUSPEND_L", GPIO_E, (1<<3), GPIO_INT_BOTH, gaia_suspend_event},
{"SPI1_NSS", GPIO_A, (1<<4), GPIO_INT_BOTH | GPIO_PULL_UP,
spi_event},
- {"AC_PRESENT", GPIO_A, (1<<1), GPIO_INT_BOTH,
+ {"AC_PRESENT_L", GPIO_A, (1<<1), GPIO_INT_BOTH,
NULL /*extpower_interrupt*/},
{"KB_IN00", GPIO_E, (1<<7), GPIO_KB_INPUT,
keyboard_raw_gpio_interrupt},
diff --git a/board/kirby/board.h b/board/kirby/board.h
index 462f7d0e37..6215433ef9 100644
--- a/board/kirby/board.h
+++ b/board/kirby/board.h
@@ -93,7 +93,7 @@ enum gpio_signal {
GPIO_LID_OPEN,
GPIO_SUSPEND_L,
GPIO_SPI1_NSS,
- GPIO_AC_PRESENT,
+ GPIO_AC_PRESENT_L,
/* Keyboard inputs */
GPIO_KB_IN00,
GPIO_KB_IN01,