| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include "../../variant.h" |
| 4 | |
| 5 | void variant_memory_init_params(FSP_M_CONFIG *mem_cfg) |
| 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 | } |