printk_foo -> printk(BIOS_FOO, ...)
[coreboot.git] / src / southbridge / broadcom / bcm5785 / bcm5785_sata.c
index 6818e6a2b05a32e0a7707b35bff8c62bc3320020..7cd9c27f35f97d22415c294f8f0f52037bf63f28 100644 (file)
@@ -49,17 +49,17 @@ static void sata_init(struct device *dev)
 
                //init PHY
 
-               printk_debug("init PHY...\n");
+               printk(BIOS_DEBUG, "init PHY...\n");
                for(i=0; i<4; i++) {
                        mmio = base + 0x100 * i; 
                        byte = read8(mmio + 0x40);
-                       printk_debug("port %d PHY status = %02x\r\n", i, byte);
+                       printk(BIOS_DEBUG, "port %d PHY status = %02x\r\n", i, byte);
                        if(byte & 0x4) {// bit 2 is set
                                byte = read8(mmio+0x48);
                                write8(mmio + 0x48, byte | 1);
                                write8(mmio + 0x48, byte & (~1));
                                byte = read8(mmio + 0x40);
-                               printk_debug("after reset port %d PHY status = %02x\r\n", i, byte);
+                               printk(BIOS_DEBUG, "after reset port %d PHY status = %02x\r\n", i, byte);
                        }
                }