intel/broadwell: Hide use of acpi_slp_type
Change-Id: I106779571df5168ec358ad1cc4dc4195639a7a7d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/10359 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@ -32,6 +32,7 @@
|
||||
#endif
|
||||
#include <soc/pei_data.h>
|
||||
#include <soc/pei_wrapper.h>
|
||||
#include <soc/pm.h>
|
||||
#include <soc/ramstage.h>
|
||||
|
||||
static pei_wrapper_entry_t load_refcode_from_cache(void)
|
||||
@ -128,7 +129,7 @@ void broadwell_run_reference_code(void)
|
||||
mainboard_fill_pei_data(&pei_data);
|
||||
broadwell_fill_pei_data(&pei_data);
|
||||
|
||||
pei_data.boot_mode = acpi_slp_type;
|
||||
pei_data.boot_mode = acpi_is_wakeup_s3() ? SLEEP_STATE_S3 : 0;
|
||||
pei_data.saved_data = (void *) &dummy;
|
||||
|
||||
entry = load_reference_code();
|
||||
|
Reference in New Issue
Block a user