Since some people disapprove of white space cleanups mixed in regular commits
[coreboot.git] / src / southbridge / via / vt8231 / vt8231.c
index d270a6b90b136efaa83673389e100c93d60d191c..85f007a09768dd2a5b43da98c52ec86a7349d0a7 100644 (file)
 /* Base 8231 controller */
 static device_t lpc_dev;
 
-void hard_reset(void)
-{
-        printk_err("NO HARD RESET ON VT8231! FIX ME!\n");
-}
-
 static void keyboard_on(void)
 {
        unsigned char regval;
 
        if (lpc_dev) {
                regval = pci_read_config8(lpc_dev, 0x51);
-               regval |= 0x0f; 
+               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)
 {
 #if 0
-       // enable com1 and com2. 
+       // enable com1 and com2.
        enables = pci_read_config8(dev, 0x6e);
-       
+
        /* 0x80 is enable com port b, 0x10 is to make it com2, 0x8
         * is enable com port a as com1 kevinh/Ispiri - Old code
         * thought 0x01 would make it com1, that was wrong enables =