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@google.com>
Reviewed-on: http://review.coreboot.org/1760
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Stefan Reinauer 2012-10-01 13:50:30 -07:00 committed by Stefan Reinauer
parent 836db26b1c
commit 043d4e1be1
1 changed files with 1 additions and 1 deletions

View File

@ -350,7 +350,7 @@ static void southbridge_smi_sleep(unsigned int node, smm_state_save_area_t *stat
/* Do any mainboard sleep handling */ /* Do any mainboard sleep handling */
tseg_relocate((void **)&mainboard_sleep); tseg_relocate((void **)&mainboard_sleep);
if (mainboard_sleep) if (mainboard_sleep)
mainboard_sleep(slp_typ); mainboard_sleep(slp_typ-2);
#if CONFIG_ELOG_GSMI #if CONFIG_ELOG_GSMI
/* Log S3, S4, and S5 entry */ /* Log S3, S4, and S5 entry */