coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variant.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include "../../variant.h"
4 
6 {
7  /* Enable and set SATA HSIO adjustments for ports 0 and 2 */
8  mem_cfg->PchSataHsioRxGen3EqBoostMagEnable[0] = 1;
9  mem_cfg->PchSataHsioRxGen3EqBoostMagEnable[2] = 1;
10  mem_cfg->PchSataHsioRxGen3EqBoostMag[0] = 2;
11  mem_cfg->PchSataHsioRxGen3EqBoostMag[2] = 1;
12 
13  /* Enable Refresh2X to mitigate S3 resume issues */
14  mem_cfg->Refresh2X = 1;
15 }
#define FSP_M_CONFIG
Definition: fsp_upd.h:8
void variant_memory_init_params(FSPM_UPD *mupd, const int spd_index)
Definition: variant.c:9