Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225846
b: refs/heads/master
c: 0af85dd
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Jan 5, 2011
1 parent 981c7c8 commit f4c9768
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1da0c89c66753860ccfe81eb327c25db46c2a24a
refs/heads/master: 0af85dda39d9b673aca8c0ebae004ea70f3efc93
1 change: 1 addition & 0 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ config ARCH_VEXPRESS
select COMMON_CLKDEV
select GENERIC_CLOCKEVENTS
select HAVE_CLK
select HAVE_SCHED_CLOCK
select ICST
select PLAT_VERSATILE
help
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/arm/mach-vexpress/v2m.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include <mach/clkdev.h>
#include <mach/motherboard.h>

#include <plat/sched_clock.h>

#include <plat/timer-sp.h>

#include "core.h"
Expand Down Expand Up @@ -50,6 +52,8 @@ void __init v2m_map_io(struct map_desc *tile, size_t num)

static void __init v2m_timer_init(void)
{
versatile_sched_clock_init(MMIO_P2V(V2M_SYS_24MHZ), 24000000);

writel(0, MMIO_P2V(V2M_TIMER0) + TIMER_CTRL);
writel(0, MMIO_P2V(V2M_TIMER1) + TIMER_CTRL);

Expand Down
5 changes: 3 additions & 2 deletions trunk/arch/arm/plat-versatile/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
obj-y := clock.o
obj-$(CONFIG_ARM_TIMER_SP804) += timer-sp.o
obj-$(CONFIG_ARCH_REALVIEW) += sched-clock.o
obj-$(CONFIG_ARCH_VERSATILE) += sched-clock.o
ifneq ($(CONFIG_ARCH_INTEGRATOR),y)
obj-y += sched-clock.o
endif
ifeq ($(CONFIG_LEDS_CLASS),y)
obj-$(CONFIG_ARCH_REALVIEW) += leds.o
obj-$(CONFIG_ARCH_VERSATILE) += leds.o
Expand Down

0 comments on commit f4c9768

Please sign in to comment.