diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-04-27 15:26:36 +0000 |
---|---|---|
committer | Vincent Palatin <vpalatin@chromium.org> | 2012-04-27 15:37:07 +0000 |
commit | 6ac7f6f6719626e1fcf76528fff78acd521c5574 (patch) | |
tree | 453f950f872778695961dc38df97232d127ddb03 /board/link/board.c | |
parent | 6eafff7ed3978e300666d57e1cb1a55939569966 (diff) | |
download | chrome-ec-6ac7f6f6719626e1fcf76528fff78acd521c5574.tar.gz |
link: enable +5V always-on at startup
The EVT boards will have an enable signal for the +5V always-on rail
connected to GPIO PK4.
Just turn it on at startup to ensure that EVT boards will run out of the
box with the current EC firmware.
(PK4 is a test point on proto-1 board, this should be harmless).
We can later implement fancier power saving scheme by enabling it only
when we enter S3.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=chrome-os-partner:9284
TEST=boot Linux kernel on Link proto-1 and Link-1 proto-1 reworked with
+5V Always-on enable on PK4.
Change-Id: I26527480c7cd364f3fabcaabaadd079a332f9c1c
Diffstat (limited to 'board/link/board.c')
-rw-r--r-- | board/link/board.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/link/board.c b/board/link/board.c index ad432015c3..4030ac2e4e 100644 --- a/board/link/board.c +++ b/board/link/board.c @@ -77,6 +77,7 @@ const struct gpio_info gpio_list[GPIO_COUNT] = { {"ENABLE_TOUCHPAD", LM4_GPIO_C, (1<<6), GPIO_OUT_LOW, NULL}, {"ENABLE_VCORE", LM4_GPIO_F, (1<<7), GPIO_OUT_LOW, NULL}, {"ENABLE_VS", LM4_GPIO_G, (1<<6), GPIO_OUT_LOW, NULL}, + {"ENABLE_5VALW", LM4_GPIO_K, (1<<4), GPIO_OUT_LOW, NULL}, {"ENTERING_RW", LM4_GPIO_J, (1<<5), GPIO_OUT_LOW, NULL}, {"LIGHTBAR_RESETn", LM4_GPIO_B, (1<<1), GPIO_OUT_LOW, NULL}, {"PCH_A20GATE", LM4_GPIO_Q, (1<<6), GPIO_OUT_LOW, NULL}, |