summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/refcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/broadwell/refcode.c')
-rw-r--r--src/soc/intel/broadwell/refcode.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/soc/intel/broadwell/refcode.c b/src/soc/intel/broadwell/refcode.c
index b7962f1cc6..6dec3b9158 100644
--- a/src/soc/intel/broadwell/refcode.c
+++ b/src/soc/intel/broadwell/refcode.c
@@ -167,7 +167,7 @@ static pei_wrapper_entry_t load_reference_code(void)
void broadwell_run_reference_code(void)
{
- int ret;
+ int ret, dummy;
struct pei_data pei_data;
pei_wrapper_entry_t entry;
@@ -175,6 +175,9 @@ 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.saved_data = (void *) &dummy;
+
entry = load_reference_code();
if (entry == NULL) {
printk(BIOS_ERR, "Reference code not found\n");