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>
This commit is contained in:
Sean Rhodes 2022-02-17 14:44:32 +00:00 committed by Felix Held
parent 45041caaba
commit e06ded83fd
1 changed files with 4 additions and 0 deletions

View File

@ -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;