the following patch was just integrated into master: commit bb0d5ef97a10bada5310ec7fc4faf53a15e98e71 Author: David Hendricks dhendrix@chromium.org Date: Thu Jun 19 15:39:29 2014 -0700
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.
Original-Signed-off-by: David Hendricks dhendrix@chromium.org Original-Change-Id: I225f572f7b3072bec2bc06aac3fb50d90a2e30ee Original-Reviewed-on: https://chromium-review.googlesource.com/204764 Original-Reviewed-by: Aaron Durbin adurbin@chromium.org (cherry picked from commit 9315c485deb5f24df753e2d69f4819b2cb6accc2) Signed-off-by: Marc Jones marc.jones@se-eng.com
Change-Id: I8d2b21765c35c7ac7746986d5334dca17dcd6861 Reviewed-on: http://review.coreboot.org/8134 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer stefan.reinauer@coreboot.org
See http://review.coreboot.org/8134 for details.
-gerrit