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/cobalt/setup.c | |
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/cobalt/setup.c')
-rw-r--r-- | arch/mips/cobalt/setup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/cobalt/setup.c b/arch/mips/cobalt/setup.c index 5d2e8790b28b..345e4ae998df 100644 --- a/arch/mips/cobalt/setup.c +++ b/arch/mips/cobalt/setup.c | |||
@@ -15,6 +15,7 @@ | |||
15 | 15 | ||
16 | #include <asm/bootinfo.h> | 16 | #include <asm/bootinfo.h> |
17 | #include <asm/time.h> | 17 | #include <asm/time.h> |
18 | #include <asm/i8253.h> | ||
18 | #include <asm/io.h> | 19 | #include <asm/io.h> |
19 | #include <asm/reboot.h> | 20 | #include <asm/reboot.h> |
20 | #include <asm/gt64120.h> | 21 | #include <asm/gt64120.h> |
@@ -84,6 +85,11 @@ static struct resource cobalt_reserved_resources[] = { | |||
84 | }, | 85 | }, |
85 | }; | 86 | }; |
86 | 87 | ||
88 | void __init plat_time_init(void) | ||
89 | { | ||
90 | setup_pit_timer(); | ||
91 | } | ||
92 | |||
87 | void __init plat_mem_setup(void) | 93 | void __init plat_mem_setup(void) |
88 | { | 94 | { |
89 | int i; | 95 | int i; |