Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100875
b: refs/heads/master
c: d0f349f
h: refs/heads/master
i:
  100873: b4a36bf
  100871: 8a4daa9
v: v3
  • Loading branch information
Juergen Beisert authored and Robert Schwebel committed Jul 5, 2008
1 parent fed7548 commit 20c793e
Show file tree
Hide file tree
Showing 10 changed files with 419 additions and 252 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: 90292ea60f1c730efb9fea02b2e12676da89ebef
refs/heads/master: d0f349fbce2905607e0473d2358f97f48866e52c
2 changes: 2 additions & 0 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ config ARCH_NS9XXX

config ARCH_MXC
bool "Freescale MXC/iMX-based"
select GENERIC_TIME
select GENERIC_CLOCKEVENTS
select ARCH_MTD_XIP
select GENERIC_GPIO
select HAVE_GPIO_LIB
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-mx3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

# Object file lists.

obj-y := mm.o time.o clock.o devices.o iomux.o
obj-y := mm.o clock.o devices.o iomux.o
obj-$(CONFIG_MACH_MX31ADS) += mx31ads.o
13 changes: 12 additions & 1 deletion trunk/arch/arm/mach-mx3/mx31ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <asm/hardware.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
#include <asm/memory.h>
#include <asm/mach/map.h>
#include <asm/arch/common.h>
Expand Down Expand Up @@ -127,6 +128,16 @@ static void __init mxc_board_init(void)
mxc_init_extuart();
}

static void __init mx31ads_timer_init(void)
{
mxc_clocks_init(26000000);
mxc_timer_init("ipg_clk.0");
}

struct sys_timer mx31ads_timer = {
.init = mx31ads_timer_init,
};

/*
* The following uses standard kernel macros defined in arch.h in order to
* initialize __mach_desc_MX31ADS data structure.
Expand All @@ -139,5 +150,5 @@ MACHINE_START(MX31ADS, "Freescale MX31ADS")
.map_io = mx31ads_map_io,
.init_irq = mxc_init_irq,
.init_machine = mxc_board_init,
.timer = &mxc_timer,
.timer = &mx31ads_timer,
MACHINE_END
148 changes: 0 additions & 148 deletions trunk/arch/arm/mach-mx3/time.c

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/arch/arm/plat-mxc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
#

# Common support
obj-y := irq.o clock.o gpio.o
obj-y := irq.o clock.o gpio.o time.o
Loading

0 comments on commit 20c793e

Please sign in to comment.