amdfam10: add phenom II as known cpu
[coreboot.git] / src / northbridge / amd / amdfam10 / early_ht.c
index b1c21f2dd34bd203b49f446772f79e9dd3e16cf7..58f2cddb36a9958d2ce8d736594fc9b16ee3243d 100644 (file)
@@ -129,7 +129,7 @@ static void enumerate_ht_chain(void)
                                                PCI_HT_CAP_SLAVE_CTRL0 : PCI_HT_CAP_SLAVE_CTRL1;
 
                                        do {
-                                               ctrl = pci_read_config16(devx, pos + ctrl_off);
+                                               ctrl = pci_io_read_config16(devx, pos + ctrl_off);
                                                /* Is this the end of the hypertransport chain? */
                                                if (ctrl & (1 << 6)) {
                                                        goto out;
@@ -144,8 +144,8 @@ static void enumerate_ht_chain(void)
                                                         * if its transient
                                                         */
                                                        ctrl |= ((1 << 4) | (1 <<8)); // Link fail + Crc
-                                                       pci_write_config16(devx, pos + ctrl_off, ctrl);
-                                                       ctrl = pci_read_config16(devx, pos + ctrl_off);
+                                                       pci_io_write_config16(devx, pos + ctrl_off, ctrl);
+                                                       ctrl = pci_io_read_config16(devx, pos + ctrl_off);
                                                        if (ctrl & ((1 << 4) | (1 << 8))) {
                                                                // can not clear the error
                                                                break;