From 912fea654755f1c2acb5ddc6d34d237dd9a35532 Mon Sep 17 00:00:00 2001 From: Nick Vaccaro Date: Tue, 19 Jul 2022 14:31:52 -0700 Subject: mb/google/brya/var/brya0: add WFC definitions to fw_config Reserve bits 15 and 16 in the fw_config to be used to specify WFC population status. Possible values for field WFC bits include: option WFC_ABSENT 0 option_WFC_MIPI_OVTI5675 1 option WFC_MIPI_OVTI8856 2 BUG=b:239613517 BRANCH=firmware-brya-14505.B TEST='emerge-brya coreboot' and make sure it compiles successfully. Change-Id: I23bdaf7feaff2e6a4979c3da789ab877e6ac3af2 Signed-off-by: Nick Vaccaro Reviewed-on: https://review.coreboot.org/c/coreboot/+/65988 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/mainboard/google/brya/variants/brya0/overridetree.cb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google/brya/variants/brya0') diff --git a/src/mainboard/google/brya/variants/brya0/overridetree.cb b/src/mainboard/google/brya/variants/brya0/overridetree.cb index 6ac469af1f..602a12507d 100644 --- a/src/mainboard/google/brya/variants/brya0/overridetree.cb +++ b/src/mainboard/google/brya/variants/brya0/overridetree.cb @@ -28,7 +28,11 @@ fw_config option UFC_USB 0 option UFC_MIPI_IMX208 1 end - # Bits 15 and 16 were intended for WFC but never declared here + field WFC 15 16 + option WFC_ABSENT 0 + option WFC_MIPI_OVTI5675 1 + option WFC_MIPI_OVTI8856 2 + end field HPS 17 17 option HPS_ABSENT 0 option HPS_PRESENT 1 -- cgit v1.2.3