From 5725a9b82b31519b184e62e959d5c7c089d83c88 Mon Sep 17 00:00:00 2001 From: Robert Zieba Date: Tue, 19 Jul 2022 11:58:43 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65990 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/mainboard/google/guybrush/Kconfig | 2 +- src/mainboard/google/guybrush/variants/baseboard/devicetree.cb | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/mainboard/google') 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 -- cgit v1.2.3