summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/stout/mainboard_smi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/stout/mainboard_smi.c b/src/mainboard/google/stout/mainboard_smi.c
index 8b37da3724..0f2ecd56a2 100644
--- a/src/mainboard/google/stout/mainboard_smi.c
+++ b/src/mainboard/google/stout/mainboard_smi.c
@@ -102,10 +102,10 @@ void mainboard_smi_sleep(u8 slp_typ)
* after the transition into suspend.
*/
if (smm_get_gnvs()->xhci) {
- u32 reg32 = pcie_read_config32(PCH_XHCI_DEV, 0x74);
+ u32 reg32 = pci_read_config32(PCH_XHCI_DEV, 0x74);
reg32 &= ~(1 << 8); /* disable PME */
reg32 |= (1 << 15); /* clear PME status */
- pcie_write_config32(PCH_XHCI_DEV, 0x74, reg32);
+ pci_write_config32(PCH_XHCI_DEV, 0x74, reg32);
}
}