Skip to content

Commit

Permalink
ARM: 8252/1: sa1100: use pxa_timer clocksource driver
Browse files Browse the repository at this point in the history
Use pxa_timer clocksource driver.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Dmitry Eremin-Solenikov authored and Russell King committed Jan 14, 2015
1 parent e074ff8 commit 7a8ca0a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 140 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-sa1100/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

# Common support
obj-y := clock.o generic.o irq.o time.o #nmi-oopser.o
obj-y := clock.o generic.o irq.o #nmi-oopser.o

# Specific board support
obj-$(CONFIG_SA1100_ASSABET) += assabet.o
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/mach-sa1100/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <mach/irqs.h>

#include "generic.h"
#include <clocksource/pxa.h>

unsigned int reset_status;
EXPORT_SYMBOL(reset_status);
Expand Down Expand Up @@ -369,6 +370,11 @@ void __init sa1100_map_io(void)
iotable_init(standard_io_desc, ARRAY_SIZE(standard_io_desc));
}

void __init sa1100_timer_init(void)
{
pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x90000000), 3686400);
}

/*
* Disable the memory bus request/grant signals on the SA1110 to
* ensure that we don't receive spurious memory requests. We set
Expand Down
139 changes: 0 additions & 139 deletions arch/arm/mach-sa1100/time.c

This file was deleted.

0 comments on commit 7a8ca0a

Please sign in to comment.