mainboard/puff: Fix ACPI tables to advertise correct features
commit6455740c0939ac24a1d6b5363cdd732f75dab299
authorEdward O'Callaghan <quasisec@google.com>
Fri, 17 Jan 2020 04:14:53 +0000 (17 15:14 +1100)
committerEdward O'Callaghan <quasisec@chromium.org>
Sat, 18 Jan 2020 03:48:53 +0000 (18 03:48 +0000)
tree7be93609e071394f9830e5a477e82dbb1f95e9ef
parent8d6eae5d6d601934bc85fc07040af0dd853058b8
mainboard/puff: Fix ACPI tables to advertise correct features

Provide Puff with it's own copy of ec.h copied from the
baseboard/includes however with the battery, lid and ps2
defines stripped.

This is to ensure the correct ASL is generated so that we don't
advertise PS2 keyboard support and battery/lid interrupts which
don't exist.

V.2: drop EC_ENABLE_ALS_DEVICE as well.
V.3: set MAINBOARD_EC_SMI_EVENTS to 0 and drop
     EC_HOST_EVENT_LID_CLOSED smi event.
V.4: drop EC_HOST_EVENT_MODE_CHANGE &&
     provide wake pin for EC for _PRW WoL method
V.5: drop EC_HOST_EVENT_KEY_PRESSED

BUG=b:147850335
BRANCH=none
TEST=builds

Change-Id: If13bd124c7229ced996efb841980604d13be09af
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38454
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/mainboard/google/hatch/variants/puff/include/variant/ec.h