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:
parent
836db26b1c
commit
043d4e1be1
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue