printk_foo -> printk(BIOS_FOO, ...)
[coreboot.git] / src / northbridge / intel / i440bx / debug.c
index 35ab61158376655a29a918706bc6bb82e21ccb31..fab224dc8585a2cf4f21c7afc92309103bb4f78a 100644 (file)
@@ -39,25 +39,25 @@ void dump_spd_registers(void)
 {
        unsigned device;
        device = SMBUS_MEM_DEVICE_START;
-       printk_debug("\n");
+       printk(BIOS_DEBUG, "\n");
        while(device <= SMBUS_MEM_DEVICE_END) {
                int status = 0;
                int i;
-               printk_debug("dimm %02x", device);
+               printk(BIOS_DEBUG, "dimm %02x", device);
                for(i = 0; (i < 256) && (status == 0); i++) {
                        unsigned char byte;
                        if ((i % 20) == 0) {
-                               printk_debug("\n%3d: ", i);
+                               printk(BIOS_DEBUG, "\n%3d: ", i);
                        }
                        status = smbus_read_byte(device, i, &byte);
                        if (status != 0) {
-                               printk_debug("bad device\n");
+                               printk(BIOS_DEBUG, "bad device\n");
                                continue;
                        }
-                       printk_debug("%02x ", byte);
+                       printk(BIOS_DEBUG, "%02x ", byte);
                }
                device += SMBUS_MEM_DEVICE_INC;
-               printk_debug("\n");
+               printk(BIOS_DEBUG, "\n");
        }
 }
 #endif