coreboot/src/cpu
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
..
amd coreboot: Introduce stage-specific architecture for coreboot 2014-05-09 04:41:47 +00:00
armltd coreboot: Introduce stage-specific architecture for coreboot 2014-05-09 04:41:47 +00:00
intel coreboot: Introduce stage-specific architecture for coreboot 2014-05-09 04:41:47 +00:00
via coreboot: Introduce stage-specific architecture for coreboot 2014-05-09 04:41:47 +00:00
x86 x86: Initialize drivers in SMM context if needed 2014-06-20 18:27:33 +00:00
Kconfig coreboot: Move ARCH_* from board/Kconfig to cpu or soc Kconfig. 2014-05-08 22:36:06 +00:00
Makefile.inc coreboot: Introduce stage-specific architecture for coreboot 2014-05-09 04:41:47 +00:00