coreboot/src
David Hendricks 9315c485de x86: Initialize drivers in SMM context if needed
This adds a block in the SMI handler to call init functions for
drivers which may be used in SMM. A static variable is used to
ensure the init functions are only called once.

BUG=chrome-os-partner:29580
BRANCH=mccloud
TEST=Built and booted on mccloud, system no longer hangs when
pressing power button at the dev mode screen. Also tested on parrot.

Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: I225f572f7b3072bec2bc06aac3fb50d90a2e30ee
Reviewed-on: https://chromium-review.googlesource.com/204764
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2014-06-20 18:27:33 +00:00
..
arch smbios: Allow custom Type3 entry 2014-06-13 22:43:24 +00:00
console Add stage information to coreboot banner 2014-05-14 20:49:21 +00:00
cpu x86: Initialize drivers in SMM context if needed 2014-06-20 18:27:33 +00:00
device i2c: Add software_i2c driver for I2C debugging and emulation 2014-05-19 20:34:31 +00:00
drivers elog: Add ELOG_TYPE_BOOT event using fake boot count if necessary 2014-06-19 03:32:28 +00:00
ec chrome ec: Add ACPI Device for ALS if enabled 2014-06-19 13:39:36 +00:00
include Add and consistently use wrapper macro for romstage static variables 2014-06-09 22:21:10 +00:00
lib Add and consistently use wrapper macro for romstage static variables 2014-06-09 22:21:10 +00:00
mainboard samus: Enable EC ALS device 2014-06-19 13:39:43 +00:00
northbridge coreboot: Rename coreboot_ram stage to ramstage 2014-05-07 23:30:23 +00:00
soc broadwell: Disable GPIO controller interrupt 2014-06-13 20:36:46 +00:00
southbridge coreboot: Rename coreboot_ram stage to ramstage 2014-05-07 23:30:23 +00:00
superio pnp: Allow setting of misc register 0xf4 in device tree 2013-12-20 00:37:38 +00:00
vendorcode Add and consistently use wrapper macro for romstage static variables 2014-06-09 22:21:10 +00:00
Kconfig coreboot arm64: Add support for arm64 into coreboot framework 2014-05-15 23:52:58 +00:00