coreboot-kgpe-d16/src/mainboard
Alexandru Gagniuc 73639e2717 hp/pavilion_m6_1035dx: Add SMI handler and handle EC requests
The EC may disable some functionality, such as Caps Lock LED and
battery charging if it never receives a command to go in APM mode. If
we start it in APM mode, then immediately switch to ACPI mode, it will
not get its SCIs serviced until an ACPI OS boots. If its SCIs are not
serviced, it may assume the OS has hung.

The way we solve this is to initalize the EC in APM mode, and only
switch it to ACPI when an ACPI-capable OS issues the ACPI_ENABLE
command. The switch has to be handled in SMM.

Although we aren't yet processing SMIs from the EC, we are reading the
status in order to satisfy the EC that the event is handled.

Change-Id: Iffaeb9a6f57841f456c4bce8337dc09b287f8758
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/5512
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@gmail.com>
2014-04-17 16:48:57 +02:00
..
a-trend board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
aaeon board_info.txt: Classify almost all remaining boards. 2014-01-22 22:05:39 +01:00
abit board_info.txt: Remove some needless name overrides. 2014-01-19 03:09:49 +01:00
adlink FrontRunner/Toucan-AF: boards will be renamed to fit ADLINK scheme 2013-04-09 23:56:14 +02:00
advansus cimx/sb800 boards: Don't require ide.asl on boards without IDE 2014-04-13 09:06:15 +02:00
advantech board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
amd southbridge/hudson: Use MMIO instead of PIO to access PM space 2014-04-16 22:29:33 +02:00
aopen board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
arima board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
artecgroup linutop: Add Linutop-1 as a clone of artecgroup/dbe61 2014-01-19 19:10:31 +01:00
asi board_info.txt: Add mentions of thin client names. 2014-01-19 20:00:06 +01:00
asrock southbridge/hudson: Use MMIO instead of PIO to access PM space 2014-04-16 22:29:33 +02:00
asus southbridge/hudson: Use MMIO instead of PIO to access PM space 2014-04-16 22:29:33 +02:00
avalue cimx/sb800 boards: Don't require ide.asl on boards without IDE 2014-04-13 09:06:15 +02:00
axus board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
azza board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
bachmann bachmann/ot200: Fix cmos.layout. 2014-01-28 14:04:36 +01:00
bcom board_info.txt: Add mentions of thin client names. 2014-01-19 20:00:06 +01:00
bifferos board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
biostar board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
broadcom board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
compaq board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
cubietech cubieboard: Enable the SD controller and mux SD pins 2014-03-29 22:28:44 +01:00
digitallogic ROMCC: Trigger internal compiler failure and apply the workaround 2014-03-08 19:24:22 +01:00
dmp vortex86ex: Drop baudrate programming for 10 UARTs 2014-02-17 09:14:55 +01:00
eaglelion board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
ecs boardstatus: Remove some needless name overrides. 2014-01-19 02:46:54 +01:00
emulation uart: Redefine Kconfig options 2014-04-09 11:24:43 +02:00
getac CBMEM: Replace cbmem_initialize() with cbmem_recovery() 2014-01-22 20:54:57 +01:00
gigabyte board_info.txt: Classify almost all remaining boards. 2014-01-22 22:05:39 +01:00
gizmosphere AMD AGESA: Drop SB_HT_CHAIN_UNITID_OFFSET_ONLY 2014-04-16 14:38:30 +02:00
google ec/compal/ene932/acpi: Let mainboard define the ACPI lid object 2014-04-12 20:26:04 +02:00
hp hp/pavilion_m6_1035dx: Add SMI handler and handle EC requests 2014-04-17 16:48:57 +02:00
ibase superio/winbond/w83627ehg: Avoid .c includes 2014-04-06 06:08:20 +02:00
ibm board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
iei superio/winbond/w83627ehg: Avoid .c includes 2014-04-06 06:08:20 +02:00
intel Static CBMEM / CAR: Flag boards with BROKEN_CAR_MIGRATE 2014-04-01 11:36:00 +02:00
iwave Static CBMEM / CAR: Flag boards with BROKEN_CAR_MIGRATE 2014-04-01 11:36:00 +02:00
iwill board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
jetway AMD AGESA: Drop SB_HT_CHAIN_UNITID_OFFSET_ONLY 2014-04-16 14:38:30 +02:00
kontron superio/winbond/w83627thg: Avoid .c includes 2014-04-06 06:23:08 +02:00
lanner superio/winbond/w83627thg: Avoid .c includes 2014-04-06 06:23:08 +02:00
lenovo mainboard/lenovo: [2/2] implement initial T530 support 2014-04-09 16:41:14 +02:00
linutop linutop: Add Linutop-1 as a clone of artecgroup/dbe61 2014-01-19 19:10:31 +01:00
lippert AMD AGESA: Drop SB_HT_CHAIN_UNITID_OFFSET_ONLY 2014-04-16 14:38:30 +02:00
mitac board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
msi superio/winbond/w83627thg: Avoid .c includes 2014-04-06 06:23:08 +02:00
nec board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
newisys board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
nokia board-status: Add board_info.txt manually for irregular wiki entries 2014-01-19 02:00:35 +01:00
nvidia superio/winbond/w83627ehg: Avoid .c includes 2014-04-06 06:08:20 +02:00
pcengines pcengines/alix2c: Add ALIX.2C as a clone of ALIX.2D. 2014-02-04 17:55:06 +01:00
rca board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
roda roda/rk9: Drop MAX_PHYSICAL_CPUS 2014-04-17 08:20:24 +02:00
samsung OxPCIe uart: Split PCI bridge control 2014-04-09 11:29:45 +02:00
siemens siemens/sitemp-g1p1: Add missing boot_option option. 2014-01-27 04:20:30 +01:00
soyo boardstatus: Remove some needless name overrides. 2014-01-19 02:46:54 +01:00
sunw board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
supermicro cimx/sb800 boards: Don't require ide.asl on boards without IDE 2014-04-13 09:06:15 +02:00
technexion board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
technologic ROMCC: Trigger internal compiler failure and apply the workaround 2014-03-08 19:24:22 +01:00
televideo board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
thomson board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
ti uart: Redefine Kconfig options 2014-04-09 11:24:43 +02:00
traverse board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
tyan cimx/sb800 boards: Don't require ide.asl on boards without IDE 2014-04-13 09:06:15 +02:00
via superio/fintek/f81865f: Avoid .c includes 2014-03-31 01:05:40 +02:00
winent superio/winbond/w83627thg: Avoid .c includes 2014-04-06 06:23:08 +02:00
wyse board-status: Add board_info.txt extracted from wiki. 2014-01-19 01:35:03 +01:00
Kconfig linutop: Add Linutop-1 as a clone of artecgroup/dbe61 2014-01-19 19:10:31 +01:00