]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/ivybridge/report_platform.c
x86: ivybridge: Move lpc_early_init() to probe()
[u-boot] / arch / x86 / cpu / ivybridge / report_platform.c
index 69e31b3ca29928415faa9b5ba444f2e39680f9c5..44938709c9bccc086a05ce376ad44d9a6c1d725a 100644 (file)
@@ -70,14 +70,14 @@ static void report_pch_info(void)
        u16 dev_id;
        uint8_t rev_id;
 
-       dev_id = pci_read_config16(PCH_LPC_DEV, 2);
+       dev_id = x86_pci_read_config16(PCH_LPC_DEV, 2);
        for (i = 0; i < ARRAY_SIZE(pch_table); i++) {
                if (pch_table[i].dev_id == dev_id) {
                        pch_type = pch_table[i].dev_name;
                        break;
                }
        }
-       rev_id = pci_read_config8(PCH_LPC_DEV, 8);
+       rev_id = x86_pci_read_config8(PCH_LPC_DEV, 8);
        debug("PCH type: %s, device id: %x, rev id %x\n", pch_type, dev_id,
              rev_id);
 }