[coreboot] Patch set updated for coreboot: a702c10 Pass correct sleep type to mainboard sleep handler

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Nov 7 20:05:11 CET 2012

Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1760


commit a702c1036cc53c4ef7b0646690dbfb56922a37fb
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Mon Oct 1 13:50:30 2012 -0700

    Pass correct sleep type to mainboard sleep handler
    The sleep type is 5 for S3 and 7 for S5.
    Change-Id: I7ffdb3d27b6994ac4a12a343caf4d7abb82fe6ca
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
 src/southbridge/intel/bd82x6x/smihandler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/southbridge/intel/bd82x6x/smihandler.c b/src/southbridge/intel/bd82x6x/smihandler.c
index 8ed29e4..1f8b448 100644
--- a/src/southbridge/intel/bd82x6x/smihandler.c
+++ b/src/southbridge/intel/bd82x6x/smihandler.c
@@ -350,7 +350,7 @@ static void southbridge_smi_sleep(unsigned int node, smm_state_save_area_t *stat
 	/* Do any mainboard sleep handling */
 	tseg_relocate((void **)&mainboard_sleep);
 	if (mainboard_sleep)
-		mainboard_sleep(slp_typ);
+		mainboard_sleep(slp_typ-2);
 	/* Log S3, S4, and S5 entry */

More information about the coreboot mailing list