From f8f4eda8b8c89e42cac12e73aede20a42a332790 Mon Sep 17 00:00:00 2001 From: Bernardo Perez Priego Date: Mon, 8 May 2023 17:53:13 -0700 Subject: mb/google/rex: Enable ISH support Enable ISH based on FW_CONFIG obtained from EC CBI. This is useful in case device is a tablet and motion sensors are handled by ISH instead of EC. BUG=b:280329972,b:283023296 TEST= Set bit 21 of FW_CONFIG with CBI Boot rex board Check that ISH is enabled and loaded Signed-off-by: Bernardo Perez Priego Change-Id: Ibe0e1b8ce2c9b08ac6b1e6fef9bd19afc9b4f59f Reviewed-on: https://review.coreboot.org/c/coreboot/+/75039 Reviewed-by: Subrata Banik Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) --- src/mainboard/google/rex/variants/rex0/overridetree.cb | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/mainboard/google/rex/variants') diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb index ab9596e1b7..39a0a4d2a5 100644 --- a/src/mainboard/google/rex/variants/rex0/overridetree.cb +++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb @@ -50,6 +50,10 @@ fw_config option VPU_DIS 0 option VPU_EN 1 end + field ISH 21 + option ISH_DISABLE 0 + option ISH_ENABLE 1 + end end chip soc/intel/meteorlake @@ -277,6 +281,13 @@ chip soc/intel/meteorlake .flags = PCIE_RP_LTR | PCIE_RP_AER, }" end #PCIE9 SSD card + device ref ish on + probe ISH ISH_ENABLE + chip drivers/intel/ish + register "firmware_name" = ""rex_ish.bin"" + device generic 0 on end + end + end device ref tbt_pcie_rp0 on end device ref tbt_pcie_rp2 on end device ref vpu on -- cgit v1.2.3