From c067e4a6e5de73e410f3f496d9b93fc6f8a4d4ad Mon Sep 17 00:00:00 2001 From: Kevin Chiu Date: Tue, 21 Dec 2021 09:07:29 +0800 Subject: mb/google/guybrush/var/nipperkin: turn on WLAN ASPM L1ss BUG=b:198258604 BRANCH=guybrush TEST=emerge-guybrush coreboot WLAN works properly in OS Change-Id: Ie1f295eaa57af7c2942e1807b3a0c4dcd89cd696 Signed-off-by: Kevin Chiu Reviewed-on: https://review.coreboot.org/c/coreboot/+/60265 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/mainboard/google/guybrush/variants/nipperkin/variant.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/guybrush/variants/nipperkin/variant.c b/src/mainboard/google/guybrush/variants/nipperkin/variant.c index c53d691b5e..204ec61b55 100644 --- a/src/mainboard/google/guybrush/variants/nipperkin/variant.c +++ b/src/mainboard/google/guybrush/variants/nipperkin/variant.c @@ -7,6 +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; + uint32_t board_version = board_id(); + + if (board_version >= 3) { + dxio_descriptors[WLAN].link_aspm_L1_1 = true; + dxio_descriptors[WLAN].link_aspm_L1_2 = true; + } else { + dxio_descriptors[WLAN].link_aspm_L1_1 = false; + dxio_descriptors[WLAN].link_aspm_L1_2 = false; + } } -- cgit v1.2.3