printk_foo -> printk(BIOS_FOO, ...)
[coreboot.git] / src / cpu / amd / model_lx / model_lx_init.c
index b1b829f1a57f7c4c26f2064deafc35e0170bc91e..85e6bfbb27fc9e0a4fe9716d73958c399a608861 100644 (file)
@@ -40,7 +40,7 @@ static void vsm_end_post_smi(void)
 
 static void model_lx_init(device_t dev)
 {
-       printk_debug("model_lx_init\n");
+       printk(BIOS_DEBUG, "model_lx_init\n");
 
        /* Turn on caching if we haven't already */
        x86_enable_cache();
@@ -52,11 +52,11 @@ static void model_lx_init(device_t dev)
        vsm_end_post_smi();
 
        // Set gate A20 (legacy vsm disables it in late init)
-       printk_debug("A20 (0x92): %d\n", inb(0x92));
+       printk(BIOS_DEBUG, "A20 (0x92): %d\n", inb(0x92));
        outb(0x02, 0x92);
-       printk_debug("A20 (0x92): %d\n", inb(0x92));
+       printk(BIOS_DEBUG, "A20 (0x92): %d\n", inb(0x92));
 
-       printk_debug("CPU model_lx_init DONE\n");
+       printk(BIOS_DEBUG, "CPU model_lx_init DONE\n");
 };
 
 static struct device_operations cpu_dev_ops = {