ACPI: Recover type of wakeup in acpi_is_wakeup()
Update acpi_slp_type early in ramstage. Change-Id: I30ec2680d28b880171217e896f48606f8691b099 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/6142 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
@ -464,6 +464,11 @@ void main(void)
|
||||
|
||||
post_code(POST_CONSOLE_BOOT_MSG);
|
||||
|
||||
/* Handoff sleep type from romstage. */
|
||||
#if CONFIG_HAVE_ACPI_RESUME
|
||||
acpi_is_wakeup();
|
||||
#endif
|
||||
|
||||
threads_initialize();
|
||||
|
||||
/* Schedule the static boot state entries. */
|
||||
|
Reference in New Issue
Block a user