move amd K8/Fam10 "bus detection" function prototypes to a common place.
[coreboot.git] / src / mainboard / tyan / s2895 / irq_tables.c
index efde485ff78338a47ad9e72b6367bdc827b3c3cd..95df425caaa3c23d0e76146a124c11232323b12e 100644 (file)
@@ -50,7 +50,7 @@ extern  unsigned char bus_ck804b_5;//f
 extern  unsigned sbdn3;
 extern  unsigned sbdnb;
 
-extern void get_bus_conf(void);
+
 
 unsigned long write_pirq_routing_table(unsigned long addr)
 {
@@ -72,7 +72,7 @@ unsigned long write_pirq_routing_table(unsigned long addr)
        addr &= ~15;
 
        /* This table must be betweeen 0xf0000 & 0x100000 */
-       printk_info("Writing IRQ routing tables to 0x%lx...", addr);
+       printk(BIOS_INFO, "Writing IRQ routing tables to 0x%lx...", addr);
 
        pirq = (void *)(addr);
        v = (uint8_t *)(addr);
@@ -102,7 +102,7 @@ unsigned long write_pirq_routing_table(unsigned long addr)
        pirq_info++; slot_num++;
 
        if(sysconf.pci1234[2] & 0xf) {
-       //second pci beidge
+       //second pci bridge
                write_pirq_info(pirq_info, bus_ck804b_0, ((sbdnb+9)<<3)|0, 0x1, 0xdef8, 0x2, 0xdef8, 0x3, 0xdef8, 0x4, 0xdef8, 0x0, 0);
                pirq_info++; slot_num++;
        }
@@ -174,7 +174,7 @@ unsigned long write_pirq_routing_table(unsigned long addr)
                pirq->checksum = sum;
        }
 
-       printk_info("done.\n");
+       printk(BIOS_INFO, "done.\n");
 
        return  (unsigned long) pirq_info;