sb/intel/bd82x6x: Add support to disable xHCI

Set FD bit if xHCI is disabled in devicetree.

Change-Id: I3d08ded10daea6d86857ebbbf3f8dcc85ebe9df4
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34336
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Patrick Rudolph 2019-07-14 17:43:52 +02:00 committed by Felix Held
parent ae5b3671b3
commit 403f433238
1 changed files with 6 additions and 0 deletions

View File

@ -148,6 +148,12 @@ void pch_iobp_update(u32 address, u32 andvalue, u32 orvalue)
static void pch_hide_devfn(unsigned devfn)
{
switch (devfn) {
case PCI_DEVFN(20, 0): /* xHCI */
if (pch_silicon_type() == PCH_TYPE_PPT) {
/* on CPT this bit is reserved */
RCBA32_OR(FD, PCH_DISABLE_XHCI);
}
break;
case PCI_DEVFN(22, 0): /* MEI #1 */
RCBA32_OR(FD2, PCH_DISABLE_MEI1);
break;