coreboot-kgpe-d16/src/mainboard
Shaunak Saha bc62834306 intel/amenia: Add mainboard SMI handler
This patch adds a mainboard SMI handler file which has
functions to set proper Wake mask before going to sleep
so that system can wake up on lidopen, key press etc.
Also SCI mask is set on boot which will enable timely update
of battery UI on charger connect/disconnect.

BUG = chrome-os-partner:53992
TEST = Amenia platform wakes from S3 on lidopen, key press and also
       sysfs entry for AC is updated on charger connect/disconnect.

Change-Id: If3dc6924c51c228241b7a647566b97398326ec0e
Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
Reviewed-on: https://review.coreboot.org/15616
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-07-14 06:00:42 +02:00
..
a-trend intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
aaeon AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
abit intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
adi adi/rc-dff: Add Initial implementaion 2016-06-08 18:49:52 +02:00
adlink
advansus AGESA vendorcode: Build a common amdlib 2016-05-18 10:44:43 +02:00
amd Documentation: Fix doxygen errors 2016-07-12 22:41:02 +02:00
aopen intel/car/cache_as_ram_ht.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:43:20 +02:00
apple intel/model_6ex: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:49:12 +02:00
artecgroup AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
asrock AGESA boards: Split dispatcher to romstage and ramstage 2016-06-04 23:44:33 +02:00
asus intel/model_6ex: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:49:12 +02:00
avalue AGESA vendorcode: Build a common amdlib 2016-05-18 10:44:43 +02:00
azza intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
bachmann AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
bap AGESA boards: Split dispatcher to romstage and ramstage 2016-06-04 23:44:33 +02:00
bcom AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
bifferos
biostar intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
broadcom
compaq intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
cubietech
digitallogic AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
dmp dmp/vortex86ex: Drop excessive include 2016-06-18 20:00:58 +02:00
ecs intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
emulation spike-riscv: Remove HTIF related code 2016-07-12 21:45:32 +02:00
esd FSP1_0 does not support HAVE_ACPI_RESUME 2016-07-13 18:35:03 +02:00
getac intel/model_6ex: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:49:12 +02:00
gigabyte intel/car/cache_as_ram_ht.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:43:20 +02:00
gizmosphere AGESA boards: Split dispatcher to romstage and ramstage 2016-06-04 23:44:33 +02:00
google google/reef: Add mainboard SMI handler 2016-07-14 06:00:30 +02:00
hp intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
ibase intel/model_6ex: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:49:12 +02:00
iei AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
intel intel/amenia: Add mainboard SMI handler 2016-07-14 06:00:42 +02:00
iwave intel/car/cache_as_ram_ht.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:43:20 +02:00
iwill
jetway AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
kontron intel/sandybridge: Fix builds with System Agent blob 2016-06-23 21:52:46 +02:00
lanner intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
lenovo lenovo/t530: Don't enforce native gfx init 2016-07-07 17:12:44 +02:00
linutop
lippert AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
mitac intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
msi intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
nec intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
nokia intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
nvidia
packardbell intel/nehalem: Use common ACPI S3 recovery 2016-06-26 14:04:02 +02:00
pcengines AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
purism
rca intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
roda intel/gm45: Use common ACPI S3 recovery 2016-06-26 14:03:26 +02:00
samsung samsung/lumpy: Fix build with System Agent blob 2016-06-23 21:53:04 +02:00
siemens siemens/mc_bdx1: Move SCI to IRQ 10 2016-07-08 08:36:53 +02:00
soyo intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
sunw
supermicro intel/model_6ex: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:49:12 +02:00
technexion
thomson intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
ti beaglebone: Update bootblock.c to use new structs/code 2016-06-21 00:46:42 +02:00
traverse AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
tyan intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
via AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
winent AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
wyse AMD boards: Fix romstage main() declaration 2016-06-18 20:01:48 +02:00
Kconfig mainboard: Support ROM_SIZE > 16 MiB 2016-06-09 22:45:51 +02:00