Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100880
b: refs/heads/master
c: 9e8a30d
h: refs/heads/master
v: v3
  • Loading branch information
Juergen Beisert authored and Robert Schwebel committed Jul 5, 2008
1 parent 39dab16 commit bd988b6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 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: 9a4cd7a5c836e189a1712c9ffd2d76b2302ce212
refs/heads/master: 9e8a30dce1bd38cf7b941c707da504d28a907f5c
13 changes: 12 additions & 1 deletion trunk/arch/arm/mach-mx3/mx31lite.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/mach/map.h>
#include <asm/arch/common.h>
#include <asm/page.h>
Expand Down Expand Up @@ -79,6 +80,16 @@ static void __init mxc_board_init(void)
{
}

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

struct sys_timer mx31lite_timer = {
.init = mx31lite_timer_init,
};

/*
* The following uses standard kernel macros defined in arch.h in order to
* initialize __mach_desc_MX31LITE data structure.
Expand All @@ -92,5 +103,5 @@ MACHINE_START(MX31LITE, "LogicPD MX31 LITEKIT")
.map_io = mx31lite_map_io,
.init_irq = mxc_init_irq,
.init_machine = mxc_board_init,
.timer = &mxc_timer,
.timer = &mx31lite_timer,
MACHINE_END

0 comments on commit bd988b6

Please sign in to comment.