summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-02-17 14:44:32 +0000
committerFelix Held <felix-coreboot@felixheld.de>2022-03-09 14:20:13 +0000
commite06ded83fd613e438853c9141c790d4df6e4c7f3 (patch)
tree89acbd2aa27372e09f841e5e0b48d16ff0ef8f81 /src/soc/intel/apollolake
parent45041caaba3de044207bacd7ef4286e66707f662 (diff)
soc/apollolake: Hook up CnviMode to devicetree
Hook PCH_DEVFN_CNVI (0c.0) to CnviMode. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I8b51e98952a39bd432e9bc63eea57a40dd6cf106 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62127 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Andy Pont <andy.pont@sdcsystems.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/apollolake')
-rw-r--r--src/soc/intel/apollolake/chip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c
index fdc5fcc419..1682490833 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -447,6 +447,10 @@ static void disable_dev(struct device *dev, FSP_S_CONFIG *silconfig)
case SA_DEVFN_IPU:
silconfig->IpuEn = 0;
break;
+#else
+ case PCH_DEVFN_CNVI:
+ silconfig->CnviMode = 0;
+ break;
#endif
case PCH_DEVFN_HDA:
silconfig->HdaEnable = 0;