From 6696b27d45c61d87919ee774408c4c978e7c66fd Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 31 Mar 2023 20:16:46 +0530 Subject: [PATCH] mb/google/rex: Add FW_CONFIG for FP/UWB/WIFI This patch adds FW_CONFIG to accommodate different Rex BoM components across various SKUs. 1. Fingerprint sensor - FP Present/Absent 2. Ultra wideband - UWB Absent/Using BITBANG/Using GSPI1 3. WIFI - CNVi/PCIe TEST=Able to build and boot google/rex. Change-Id: I97b0dc25f239103a0a235f14b50008a633e2f88d Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/74146 Tested-by: build bot (Jenkins) Reviewed-by: YH Lin --- .../google/rex/variants/rex0/overridetree.cb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb index ff4f6470bc..44d20cb30a 100644 --- a/src/mainboard/google/rex/variants/rex0/overridetree.cb +++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb @@ -28,6 +28,19 @@ fw_config option USB4_ANX7452 3 option USB4_HAYDEN_BRIDGE 4 end + field FP 15 + option FP_PRESENT 0 + option FP_ABSENT 1 + end + field UWB 16 17 + option UWB_ABSENT 0 + option UWB_BITBANG 1 + option UWB_GSPI1 2 + end + field WIFI 18 + option WIFI_CNVI 0 + option WIFI_PCIE 1 + end end chip soc/intel/meteorlake