diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-07-26 08:50:53 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-08-09 23:20:52 +0200 |
commit | fd98c65b9d89e1ca665e25b6abf6d2019855e85a (patch) | |
tree | 17f16d8659ca8056aa06a2628bec4c7da1cea827 /src/mainboard/google/stout | |
parent | 0cc33da5530cf2ef776fc9fa2dbb80bb4dc4c830 (diff) |
intel/sandybridge intel/bd82x6x: remove explicit pcie config accesses
Now that MMCONF_SUPPORT_DEFAULT is enabled by default remove
the pcie explicit accesses. The default config accesses use
MMIO.
Change-Id: I58c4b021ac87a035ac2ec2b6b110b75e6d263ab4
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3810
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/mainboard/google/stout')
-rw-r--r-- | src/mainboard/google/stout/mainboard_smi.c | 4 |
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); } } |