summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorEran Mitrani <mitrani@google.com>2023-05-16 14:59:20 -0700
committerSubrata Banik <subratabanik@google.com>2023-05-23 06:03:54 +0000
commit8a2c36467c259c965d9b7fbd24352deadf6a0a07 (patch)
tree13ac91cb0526b2338445e82a046c74adbe086f6c /src/mainboard
parent78881e1006df9312edcca8659b8cf820a302686a (diff)
mb/google/rex: Add FW_CONFIG and device for VPU
BUG=b:282912666 TEST=set and unset bit20 in HW_CONFIG and check if VPU(0b.0) is enabled when bit20 is set, and disabled when cleared Signed-off-by: Eran Mitrani <mitrani@google.com> Change-Id: Iee6a9026a4d210407350bfb7ecc8a058e7ff5c24 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75303 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/rex/variants/rex0/overridetree.cb7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb
index d3062adff8..c3e2d7bf77 100644
--- a/src/mainboard/google/rex/variants/rex0/overridetree.cb
+++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb
@@ -46,6 +46,10 @@ fw_config
option TOUCHSCREEN_I2C 0
option TOUCHSCREEN_I2C_SPI 1
end
+ field VPU 20
+ option VPU_DIS 0
+ option VPU_EN 1
+ end
end
chip soc/intel/meteorlake
@@ -275,6 +279,9 @@ chip soc/intel/meteorlake
end #PCIE9 SSD card
device ref tbt_pcie_rp0 on end
device ref tbt_pcie_rp2 on end
+ device ref vpu on
+ probe VPU VPU_EN
+ end
device ref tcss_xhci on
chip drivers/usb/acpi
device ref tcss_root_hub on