diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/system76/darp7/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/system76/galp5/ramstage.c | 6 | ||||
-rw-r--r-- | src/mainboard/system76/lemp10/ramstage.c | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/src/mainboard/system76/darp7/ramstage.c b/src/mainboard/system76/darp7/ramstage.c index a3b12bb1f2..dd7e73c595 100644 --- a/src/mainboard/system76/darp7/ramstage.c +++ b/src/mainboard/system76/darp7/ramstage.c @@ -3,6 +3,12 @@ #include <mainboard/gpio.h> #include <soc/ramstage.h> +void mainboard_silicon_init_params(FSP_S_CONFIG *params) +{ + // Disable AER to fix suspend failing with some SSDs. + params->CpuPcieRpAdvancedErrorReporting[0] = 0; +} + static void mainboard_init(void *chip_info) { mainboard_configure_gpios(); diff --git a/src/mainboard/system76/galp5/ramstage.c b/src/mainboard/system76/galp5/ramstage.c index dec2a89ee4..e2cbba5900 100644 --- a/src/mainboard/system76/galp5/ramstage.c +++ b/src/mainboard/system76/galp5/ramstage.c @@ -3,6 +3,12 @@ #include <soc/ramstage.h> #include "gpio.h" +void mainboard_silicon_init_params(FSP_S_CONFIG *params) +{ + // Disable AER to fix suspend failing with some SSDs. + params->CpuPcieRpAdvancedErrorReporting[0] = 0; +} + static void mainboard_init(void *chip_info) { gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table)); diff --git a/src/mainboard/system76/lemp10/ramstage.c b/src/mainboard/system76/lemp10/ramstage.c index a3b12bb1f2..dd7e73c595 100644 --- a/src/mainboard/system76/lemp10/ramstage.c +++ b/src/mainboard/system76/lemp10/ramstage.c @@ -3,6 +3,12 @@ #include <mainboard/gpio.h> #include <soc/ramstage.h> +void mainboard_silicon_init_params(FSP_S_CONFIG *params) +{ + // Disable AER to fix suspend failing with some SSDs. + params->CpuPcieRpAdvancedErrorReporting[0] = 0; +} + static void mainboard_init(void *chip_info) { mainboard_configure_gpios(); |