diff options
author | Shaunak Saha <shaunak.saha@intel.com> | 2016-05-27 01:13:16 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-06-07 19:39:50 +0200 |
commit | f7f1244bc64cc45b732e0fdc1fcb528e45f62e19 (patch) | |
tree | cd0daa536cb8ce46fe117ace7c536e4fecec9611 /src/mainboard/intel/amenia/ec.h | |
parent | f6118c62a46b661175130f28d108f610db90ff2a (diff) |
intel/amenia: Add asl code to enable google ChromeEC
This patch adds asl code to include support for Google ChromeEC.
We need this to show the battery icon and notifications like charger
connect/disconnect etc.
BUG = 53096
TEST = Plug/Unplug AC Adapter multiple times and make sure the battery
connected is charging properly.
Change-Id: Id908f145789402573ea54fc4f15cf7a0e651ebf4
Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
Reviewed-on: https://review.coreboot.org/14987
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/mainboard/intel/amenia/ec.h')
-rw-r--r-- | src/mainboard/intel/amenia/ec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/intel/amenia/ec.h b/src/mainboard/intel/amenia/ec.h index ab8bcbada8..91890fd63e 100644 --- a/src/mainboard/intel/amenia/ec.h +++ b/src/mainboard/intel/amenia/ec.h @@ -20,6 +20,10 @@ #include <ec/google/chromeec/ec_commands.h> +/* This is the GPE status bit. + TODO: Fix this to proper bit matching GPE routing table */ +#define EC_SCI_GPI 15 + #define MAINBOARD_EC_SCI_EVENTS \ (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) |\ |