summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Chiu <kevin.chiu.17802@gmail.com>2021-12-21 09:07:29 +0800
committerRaul Rangel <rrangel@chromium.org>2022-01-22 18:25:44 +0000
commitc067e4a6e5de73e410f3f496d9b93fc6f8a4d4ad (patch)
tree2bb27bf45a6d09c629c9de2d48b24e6d04e175c5 /src
parent36871dbdb756d918d0911e56375ca733cdf08f08 (diff)
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 <kevin.chiu.17802@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60265 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/guybrush/variants/nipperkin/variant.c11
1 files 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;
+ }
}