summaryrefslogtreecommitdiff
path: root/include/host_command.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-10-01 10:34:59 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-10-02 01:24:40 +0000
commit0f1f1229b9062376e706509d5a04d237253fbb47 (patch)
tree34e4a8f9f61d81fec7edfe21f7c92ddf5c5875c2 /include/host_command.h
parent159867844af5c1860c5b6f49f61f8b9893f57c64 (diff)
downloadchrome-ec-0f1f1229b9062376e706509d5a04d237253fbb47.tar.gz
lpc: Clean up processing wake events
Every board other than link does the same thing - filter out the power button event, then set the WAKE_L gpio level based on the remaining events. This code doesn't need to be duplicated 7 times, so make it common. Link didn't filter out the power button wake signal, but works fine with the common implementation. Like the other boards it gets a power button wake event via the dedicated PCH PWRBTN# signal. BUG=chrome-os-partner:18343 BRANCH=none TEST=suspend link, then wake using power button press compile all platforms; pass unit tests Change-Id: Ib3a6d310d0f5e337374b3c331ab2872fe377bdf6 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/171405 Reviewed-by: Alec Berg <alecaberg@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'include/host_command.h')
-rw-r--r--include/host_command.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/host_command.h b/include/host_command.h
index 96096bc699..158367a80b 100644
--- a/include/host_command.h
+++ b/include/host_command.h
@@ -162,11 +162,6 @@ void host_clear_events(uint32_t mask);
uint32_t host_get_events(void);
/**
- * Perform necessary actions on host wake events.
- */
-void board_process_wake_events(uint32_t active_wake_events);
-
-/**
* Send a response to the relevent driver for transmission
*
* Once command processing is complete, this is used to send a response