/* ACPI resume needs to be cleared in the fail-to-recover case, but that * condition is only handled during ramstage. */ void cbmem_fail_resume(void) { #if CONFIG_HAVE_ACPI_RESUME /* Something went wrong, our high memory area got wiped */ acpi_fail_wakeup(); #endif }
/* Something went wrong, our high memory area got wiped */ void cbmem_fail_resume(void) { #if !defined(__PRE_RAM__) && IS_ENABLED(CONFIG_HAVE_ACPI_RESUME) /* ACPI resume needs to be cleared in the fail-to-recover case, but that * condition is only handled during ramstage. */ acpi_fail_wakeup(); #endif }