From b1d3f3d7bf32af1fde8498dfec572310885c38e0 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 22 Jun 2023 17:26:22 +0530 Subject: mb/google/rex: Keep CNVi PCI device enabled for Ovis The CNVi PCI device is required for the system to boot properly. By ensuring that this device is enabled, we can prevent the below error message from appearing and ensure that the system boots successfully. BUG=b:274421383 TEST=Able to build and boot google/ovis without any error. w/o this patch: [ERROR] CNVi WiFi is enabled without CNVi being enabled [ERROR] CNVi BT is enabled without CNVi being enabled Change-Id: I4dbae14f0cfccf96a33437a0e2fdefb508209354 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/76001 Tested-by: build bot (Jenkins) Reviewed-by: Jakub Czapiga --- src/mainboard/google/rex/variants/ovis/overridetree.cb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mainboard/google/rex/variants/ovis/overridetree.cb b/src/mainboard/google/rex/variants/ovis/overridetree.cb index 1af0a0e0ab..a6d5c04acc 100644 --- a/src/mainboard/google/rex/variants/ovis/overridetree.cb +++ b/src/mainboard/google/rex/variants/ovis/overridetree.cb @@ -185,6 +185,14 @@ chip soc/intel/meteorlake end end end + device ref cnvi_wifi on + chip drivers/wifi/generic + register "wake" = "GPE0_PME_B0" + register "add_acpi_dma_property" = "true" + register "enable_cnvi_ddr_rfim" = "true" + device generic 0 on end + end + end device ref i2c4 on chip drivers/i2c/tpm register "hid" = ""GOOG0005"" -- cgit v1.2.3