summaryrefslogtreecommitdiff
path: root/src/southbridge/via/vt8237r/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/via/vt8237r/bootblock.c')
-rw-r--r--src/southbridge/via/vt8237r/bootblock.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/southbridge/via/vt8237r/bootblock.c b/src/southbridge/via/vt8237r/bootblock.c
index 0759f894bc..b231f844c9 100644
--- a/src/southbridge/via/vt8237r/bootblock.c
+++ b/src/southbridge/via/vt8237r/bootblock.c
@@ -38,8 +38,14 @@ static void bootblock_southbridge_init(void)
dev = pci_locate_device_on_bus(PCI_ID(PCI_VENDOR_ID_VIA,
PCI_DEVICE_ID_VIA_VT8237S_LPC), 0);
- if (dev == PCI_DEV_INVALID)
- return;
+ if (dev == PCI_DEV_INVALID) {
+ /* Power management controller */
+ dev = pci_locate_device_on_bus(PCI_ID(PCI_VENDOR_ID_VIA,
+ PCI_DEVICE_ID_VIA_VT8237A_LPC), 0);
+
+ if (dev == PCI_DEV_INVALID)
+ return;
+ }
}
pci_write_config8(dev, 0x41, 0x7f);