Merge git://git.infradead.org/battery-2.6
[pandora-kernel.git] / arch / mips / jazz / setup.c
index 2a7ec08..a785797 100644 (file)
@@ -5,7 +5,7 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 1996, 1997, 1998, 2001 by Ralf Baechle
+ * Copyright (C) 1996, 1997, 1998, 2001, 07 by Ralf Baechle
  * Copyright (C) 2001 MIPS Technologies, Inc.
  * Copyright (C) 2007 by Thomas Bogendoerfer
  */
@@ -25,7 +25,6 @@
 #include <linux/serial_8250.h>
 
 #include <asm/bootinfo.h>
-#include <asm/i8253.h>
 #include <asm/irq.h>
 #include <asm/jazz.h>
 #include <asm/jazzdma.h>
@@ -64,21 +63,16 @@ static struct resource jazz_io_resources[] = {
        }
 };
 
-void __init plat_time_init(void)
-{
-       setup_pit_timer();
-}
-
 void __init plat_mem_setup(void)
 {
        int i;
 
        /* Map 0xe0000000 -> 0x0:800005C0, 0xe0010000 -> 0x1:30000580 */
-       add_wired_entry (0x02000017, 0x03c00017, 0xe0000000, PM_64K);
+       add_wired_entry(0x02000017, 0x03c00017, 0xe0000000, PM_64K);
        /* Map 0xe2000000 -> 0x0:900005C0, 0xe3010000 -> 0x0:910005C0 */
-       add_wired_entry (0x02400017, 0x02440017, 0xe2000000, PM_16M);
+       add_wired_entry(0x02400017, 0x02440017, 0xe2000000, PM_16M);
        /* Map 0xe4000000 -> 0x0:600005C0, 0xe4100000 -> 400005C0 */
-       add_wired_entry (0x01800017, 0x01000017, 0xe4000000, PM_4M);
+       add_wired_entry(0x01800017, 0x01000017, 0xe4000000, PM_4M);
 
        set_io_port_base(JAZZ_PORT_BASE);
 #ifdef CONFIG_EISA