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

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Sun Nov 11 20:02:19 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

-gerrit

commit 6d539a428c8f0067bad28e23de9f669b7404abb5
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);
 
 #if CONFIG_ELOG_GSMI
 	/* Log S3, S4, and S5 entry */




More information about the coreboot mailing list