summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/lenovo/x201/romstage.c5
-rw-r--r--src/mainboard/packardbell/ms2290/romstage.c5
2 files changed, 2 insertions, 8 deletions
diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c
index 8e8a5df30b..029c5e561c 100644
--- a/src/mainboard/lenovo/x201/romstage.c
+++ b/src/mainboard/lenovo/x201/romstage.c
@@ -279,12 +279,9 @@ void mainboard_romstage_entry(unsigned long bist)
outl(reg32 & ~(7 << 10), DEFAULT_PMBASE + 0x04);
}
-
romstage_handoff_init(s3resume);
- if (s3resume)
- acpi_prepare_for_resume();
- else
+ if (!s3resume)
quick_ram_check();
#if IS_ENABLED(CONFIG_LPC_TPM)
diff --git a/src/mainboard/packardbell/ms2290/romstage.c b/src/mainboard/packardbell/ms2290/romstage.c
index 31b8f76b01..a52f153e59 100644
--- a/src/mainboard/packardbell/ms2290/romstage.c
+++ b/src/mainboard/packardbell/ms2290/romstage.c
@@ -269,11 +269,8 @@ void mainboard_romstage_entry(unsigned long bist)
outl(reg32 & ~(7 << 10), DEFAULT_PMBASE + 0x04);
}
-
romstage_handoff_init(s3resume);
- if (s3resume)
- acpi_prepare_for_resume();
- else
+ if (!s3resume)
quick_ram_check();
}