printk_foo -> printk(BIOS_FOO, ...)
[coreboot.git] / src / southbridge / via / vt8231 / vt8231.c
index 514d0c0626725d8c0ef39936dd1ab9d74747a653..f943524665189cb7a03c55e821db4620bf8b82eb 100644 (file)
@@ -7,7 +7,6 @@
 #include <pc80/mc146818rtc.h>
 #include <pc80/keyboard.h>
 
-#include "vt8231.h"
 #include "chip.h"
 
 /* Base 8231 controller */
@@ -15,7 +14,7 @@ static device_t lpc_dev;
 
 void hard_reset(void)
 {
-        printk_err("NO HARD RESET ON VT8231! FIX ME!\n");
+        printk(BIOS_ERR, "NO HARD RESET ON VT8231! FIX ME!\n");
 }
 
 static void keyboard_on(void)
@@ -27,7 +26,7 @@ static void keyboard_on(void)
                regval |= 0x0f; 
                pci_write_config8(lpc_dev, 0x51, regval);
        }
-       init_pc_keyboard(0x60, 0x64, 0);
+       pc_keyboard_init(0);
 }
 
 static void com_port_on(void)
@@ -68,6 +67,6 @@ static void vt8231_enable(struct device *dev)
 }
 
 struct chip_operations southbridge_via_vt8231_ops = {
-       CHIP_NAME("VIA vt8231")
+       CHIP_NAME("VIA VT8231 Southbridge")
        .enable_dev     = vt8231_enable,
 };