Verified Commit 70235c11 authored by Matt Devillier's avatar Matt Devillier
Browse files

patches/coreboot-4.12: Fix Librem Mini resume from S3 issue



Signed-off-by: Matt Devillier's avatarMatt DeVillier <matt.devillier@puri.sm>
parent 8a4dca38
......@@ -361,7 +361,7 @@ diff --git a/src/mainboard/purism/librem_cnl/romstage.c b/src/mainboard/purism/l
index 9f8d600950..3a3ca6b491 100644
--- a/src/mainboard/purism/librem_cnl/romstage.c
+++ b/src/mainboard/purism/librem_cnl/romstage.c
@@ -48,5 +48,12 @@ static const struct cnl_mb_cfg memcfg = {
@@ -48,5 +48,15 @@ static const struct cnl_mb_cfg memcfg = {
void mainboard_memory_init_params(FSPM_UPD *memupd)
{
......@@ -374,6 +374,9 @@ index 9f8d600950..3a3ca6b491 100644
+ mem_cfg->PchSataHsioRxGen3EqBoostMagEnable[2] = 1;
+ mem_cfg->PchSataHsioRxGen3EqBoostMag[0] = 2;
+ mem_cfg->PchSataHsioRxGen3EqBoostMag[2] = 1;
+
+ /* Enable Refresh2X to mitigate S3 resume issues */
+ mem_cfg->Refresh2X = 1;
}
diff --git a/src/mainboard/purism/librem_cnl/variants/librem_mini/board_info.txt b/src/mainboard/purism/librem_cnl/variants/librem_mini/board_info.txt
new file mode 100644
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment