aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorRobert Zieba <robertzieba@google.com>2022-07-19 11:58:43 -0600
committerMartin L Roth <gaumless@tutanota.com>2022-07-20 22:33:12 +0000
commit5725a9b82b31519b184e62e959d5c7c089d83c88 (patch)
treed568242894562252d2f83f78c4445f0afac355da /src/mainboard/google
parent247d034a7a309914ce8c9d508d6e198b394d5fed (diff)
mainboard/google/guybrush: Update Wake-On-LAN functionality
The generic wifi driver currently contains a lot of intel specific functionality that results in it not working properly on AMD platforms. This commit updates the base device tree to use the generic PCIe driver instead. BUG=none TEST=Ran on nipperkin device, dumped SSDT and checked wakeup sources Change-Id: Iafbc68c1ae33ccc260889f0b39fc5fe8a59d7aca Signed-off-by: Robert Zieba <robertzieba@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/65990 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/guybrush/Kconfig2
-rw-r--r--src/mainboard/google/guybrush/variants/baseboard/devicetree.cb6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/mainboard/google/guybrush/Kconfig b/src/mainboard/google/guybrush/Kconfig
index a19cfe8ace..ffb3308f12 100644
--- a/src/mainboard/google/guybrush/Kconfig
+++ b/src/mainboard/google/guybrush/Kconfig
@@ -21,7 +21,7 @@ config BOARD_SPECIFIC_OPTIONS
select DRIVERS_I2C_HID
select DRIVERS_PCIE_RTD3_DEVICE
select DRIVERS_UART_ACPI
- select DRIVERS_WIFI_GENERIC
+ select DRIVERS_PCIE_GENERIC
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_BOARDID
select EC_GOOGLE_CHROMEEC_ESPI
diff --git a/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb b/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb
index a8c98907a5..2d7eaec6c6 100644
--- a/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb
@@ -227,8 +227,10 @@ chip soc/amd/cezanne
device ref iommu on end
device ref gpp_bridge_0 on
- chip drivers/wifi/generic
- register "wake" = "GEVENT_8"
+ chip drivers/pcie/generic
+ register "wake_gpe" = "GEVENT_8"
+ register "wake_deepest" = "ACPI_S0"
+ register "name" = ""WLAN""
device pci 00.0 on end
end
end # WLAN