diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 23:46:10 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 23:46:10 +0100 |
commit | d865bea4dace1d42995a6cf552bc4863842623f4 (patch) | |
tree | df4519c1646898d3d11817976992c73647a88dac /arch/mips/cobalt | |
parent | 87b2335d6ef97e19ca19dbbb523673680a029e3f (diff) | |
download | linux-stable-d865bea4dace1d42995a6cf552bc4863842623f4.tar.gz linux-stable-d865bea4dace1d42995a6cf552bc4863842623f4.tar.bz2 linux-stable-d865bea4dace1d42995a6cf552bc4863842623f4.zip |
[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')
-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 @@ #include <asm/bootinfo.h> #include <asm/time.h> +#include <asm/i8253.h> #include <asm/io.h> #include <asm/reboot.h> #include <asm/gt64120.h> @@ -84,6 +85,11 @@ static struct resource cobalt_reserved_resources[] = { }, }; +void __init plat_time_init(void) +{ + setup_pit_timer(); +} + void __init plat_mem_setup(void) { int i; |