diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:10 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:10 -0400 |
commit | d865bea4dace1d42995a6cf552bc4863842623f4 (patch) | |
tree | df4519c1646898d3d11817976992c73647a88dac /arch/mips/jazz | |
parent | 87b2335d6ef97e19ca19dbbb523673680a029e3f (diff) |
[MIPS] i8253 PIT clocksource and clockevent drivers
Derived from the i386 variant with a few x86 complexities chopped off.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/jazz')
-rw-r--r-- | arch/mips/jazz/setup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/jazz/setup.c b/arch/mips/jazz/setup.c index fa890df36589..2a7ec08b6bad 100644 --- a/arch/mips/jazz/setup.c +++ b/arch/mips/jazz/setup.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/serial_8250.h> | 25 | #include <linux/serial_8250.h> |
26 | 26 | ||
27 | #include <asm/bootinfo.h> | 27 | #include <asm/bootinfo.h> |
28 | #include <asm/i8253.h> | ||
28 | #include <asm/irq.h> | 29 | #include <asm/irq.h> |
29 | #include <asm/jazz.h> | 30 | #include <asm/jazz.h> |
30 | #include <asm/jazzdma.h> | 31 | #include <asm/jazzdma.h> |
@@ -63,6 +64,11 @@ static struct resource jazz_io_resources[] = { | |||
63 | } | 64 | } |
64 | }; | 65 | }; |
65 | 66 | ||
67 | void __init plat_time_init(void) | ||
68 | { | ||
69 | setup_pit_timer(); | ||
70 | } | ||
71 | |||
66 | void __init plat_mem_setup(void) | 72 | void __init plat_mem_setup(void) |
67 | { | 73 | { |
68 | int i; | 74 | int i; |