summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/guybrush')
-rw-r--r--src/mainboard/google/guybrush/variants/nipperkin/variant.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mainboard/google/guybrush/variants/nipperkin/variant.c b/src/mainboard/google/guybrush/variants/nipperkin/variant.c
index b70545e733..48e768d182 100644
--- a/src/mainboard/google/guybrush/variants/nipperkin/variant.c
+++ b/src/mainboard/google/guybrush/variants/nipperkin/variant.c
@@ -7,7 +7,13 @@ void variant_update_dxio_descriptors(fsp_dxio_descriptor *dxio_descriptors)
{
dxio_descriptors[WLAN].link_aspm_L1_1 = false;
dxio_descriptors[WLAN].link_aspm_L1_2 = false;
- /* Disable PSPP to avoid S0ix hangs - b/228830362 */
- memset(dxio_descriptors[WLAN].port_params, 0,
- sizeof(dxio_descriptors[WLAN].port_params));
+
+ /* Fix link speed to GEN2 - b/228830362 */
+ dxio_descriptors[WLAN].link_speed_capability = GEN2;
+ dxio_descriptors[WLAN].port_params[0] = PP_PSPP_AC;
+ /* AC_DirectIndirect[11:8], AC_MaxPreferredSpeed[7:4], AC_MinPreferredSpeed[3:0] */
+ dxio_descriptors[WLAN].port_params[1] = 0x122;
+ dxio_descriptors[WLAN].port_params[2] = PP_PSPP_DC;
+ /* DC_DirectIndirect[11:8], DC_MaxPreferredSpeed[7:4], DC_MinPreferredSpeed[3:0] */
+ dxio_descriptors[WLAN].port_params[3] = 0x122;
}