coreboot/src/mainboard
Shaunak Saha 9a6ebda9b4 google/reef: 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 = Reef Platform wakes from S3 on lidopen, key press and also
       sysfs entry for AC is updated on charger connect/disconnect.

Change-Id: I8c087994b48223b253dcf1cbb3ed3c3a0f366e36
Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
Reviewed-on: https://review.coreboot.org/15615
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-07-14 06:00:30 +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 rdc/r8610: Move to src/soc 2016-05-05 20:08:58 +02:00
biostar intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
broadcom mainboard/**/irq_tables.c: Remove reference to getpir 2015-11-10 14:11:06 +01:00
compaq intel/car/cache_as_ram.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:39:47 +02:00
cubietech mainboard/cubieboard: use bootblock_mainboard_early_init 2016-01-29 17:03:52 +01:00
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 Maxim98357a support 2016-07-14 00:04:48 +02:00
iwave intel/car/cache_as_ram_ht.inc: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:43:20 +02:00
iwill ASL: Remove unused local variables. 2016-02-09 19:56:59 +01:00
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 lib: compile mdelay for romstage 2016-01-22 22:15:09 +01:00
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 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
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 lib: compile mdelay for romstage 2016-01-22 22:15:09 +01:00
supermicro intel/model_6ex: Prepare for dynamic CONFIG_RAMTOP 2016-06-21 00:49:12 +02:00
technexion lib: compile mdelay for romstage 2016-01-22 22:15:09 +01:00
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