diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2013-06-23 12:38:07 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-06-24 15:44:23 -0700 |
commit | f4ed65f3af709d0b59a582648d5ba5f97f29a1d0 (patch) | |
tree | 6e193c2c10bb2a2664af64752647b674d0c9a2d5 /board | |
parent | 3c7ad4f267964b64edebb627099bda7327871591 (diff) | |
download | chrome-ec-f4ed65f3af709d0b59a582648d5ba5f97f29a1d0.tar.gz |
peppy: Set GPIO_WP to active low.
WP GPIO is active low on peppy.
TEST="gpioget WP" with hole24 open shows 1, with hole24 shorted shows 0.
BUG=chrome-os-partner:20429.
BRANCH=none.
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: Idf3de192c500edcb40b37269b1b66e6a5df4dd1f
Reviewed-on: https://gerrit.chromium.org/gerrit/59703
Reviewed-by: Dave Parker <dparker@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/peppy/board.c | 2 | ||||
-rw-r--r-- | board/peppy/board.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/board/peppy/board.c b/board/peppy/board.c index 160ebef21b..aa34db95d1 100644 --- a/board/peppy/board.c +++ b/board/peppy/board.c @@ -59,7 +59,7 @@ const struct gpio_info gpio_list[GPIO_COUNT] = { x86_power_interrupt}, {"RECOVERY_L", LM4_GPIO_A, (1<<5), GPIO_PULL_UP|GPIO_INT_BOTH, switch_interrupt}, - {"WP", LM4_GPIO_A, (1<<4), GPIO_INT_BOTH, + {"WP_L", LM4_GPIO_A, (1<<4), GPIO_INT_BOTH, switch_interrupt}, /* Other inputs */ diff --git a/board/peppy/board.h b/board/peppy/board.h index 56af4a08a9..4d3af9837b 100644 --- a/board/peppy/board.h +++ b/board/peppy/board.h @@ -35,7 +35,6 @@ #define CONFIG_PWM_FAN #define CONFIG_TEMP_SENSOR #define CONFIG_USB_PORT_POWER_DUMB -#define CONFIG_WP_ACTIVE_HIGH #ifndef __ASSEMBLER__ @@ -83,7 +82,7 @@ enum gpio_signal { GPIO_VCORE_PGOOD, /* Power good on core VR */ GPIO_PCH_EDP_VDD_EN, /* PCH wants EDP enabled */ GPIO_RECOVERY_L, /* Recovery signal from servo */ - GPIO_WP, /* Write protect input */ + GPIO_WP_L, /* Write protect input */ /* Other inputs */ GPIO_FAN_ALERT_L, /* From thermal sensor */ |