summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2022-07-19 14:31:52 -0700
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-07-22 03:20:14 +0000
commit912fea654755f1c2acb5ddc6d34d237dd9a35532 (patch)
treead3af66fafa997f216721663ef0623dfb80b3926 /src/mainboard/google/brya
parent7f7f65cfb9ccdaaa38bad553f459b2fd19503d81 (diff)
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 <nvaccaro@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/65988 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/variants/brya0/overridetree.cb6
1 files changed, 5 insertions, 1 deletions
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