summaryrefslogtreecommitdiffstats
path: root/src/mainboard
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2022-07-19 14:50:37 -0700
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-07-22 20:52:33 +0000
commit7710c68e2a8009cb7e8ed8b3205da03333915eba (patch)
tree7eeea6e017ea38c02c0df6b10226392f4e104f30 /src/mainboard
parenta284a365357445c9257db6f38eb6e3998417d63c (diff)
downloadcoreboot-7710c68e2a8009cb7e8ed8b3205da03333915eba.tar.gz
coreboot-7710c68e2a8009cb7e8ed8b3205da03333915eba.tar.bz2
coreboot-7710c68e2a8009cb7e8ed8b3205da03333915eba.zip
mb/google/brya/var/skolas4es: 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: If797b79f0d094816eeb3df7bfded06e92e4e6a32 Signed-off-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/65989 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brya/variants/skolas4es/overridetree.cb6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/google/brya/variants/skolas4es/overridetree.cb b/src/mainboard/google/brya/variants/skolas4es/overridetree.cb
index 3280b4be4f0a..4671a8c92fa7 100644
--- a/src/mainboard/google/brya/variants/skolas4es/overridetree.cb
+++ b/src/mainboard/google/brya/variants/skolas4es/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