Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123917
b: refs/heads/master
c: 44421e4
h: refs/heads/master
i:
  123915: 5664cbc
v: v3
  • Loading branch information
Sascha Hauer committed Dec 18, 2008
1 parent 43752af commit 78c71db
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 15 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: 9d631b835f518848b7f3ce803bfd00dc1bb8a5b1
refs/heads/master: 44421e42587125acf70771436bcd6af06e1261a3
5 changes: 0 additions & 5 deletions trunk/arch/arm/plat-mxc/include/mach/mx1.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@

#include <mach/vmalloc.h>

/*
* defines the hardware clock tick rate
*/
#define CLOCK_TICK_RATE 16000000

#define PHYS_OFFSET UL(0x08000000)

/*
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/arm/plat-mxc/include/mach/mx27.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,6 @@ extern int mx27_revision(void);
/* this CPU supports up to 192 GPIOs (don't forget the baseboard!) */
#define ARCH_NR_GPIOS (192 + 16)

/* OS clock tick rate */
#define CLOCK_TICK_RATE 13300000

/* Start of RAM */
#define PHYS_OFFSET SDRAM_BASE_ADDR

Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/arm/plat-mxc/include/mach/mx31.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
#error "Do not include directly."
#endif

/*!
* defines the hardware clock tick rate
*/
#define CLOCK_TICK_RATE 16625000

/*
* MX31 memory map:
*
Expand Down
8 changes: 7 additions & 1 deletion trunk/arch/arm/plat-mxc/include/mach/timex.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
#ifndef __ASM_ARCH_MXC_TIMEX_H__
#define __ASM_ARCH_MXC_TIMEX_H__

#include <mach/hardware.h> /* for CLOCK_TICK_RATE */
#if defined CONFIG_ARCH_MX1
#define CLOCK_TICK_RATE 16000000
#elif defined CONFIG_ARCH_MX2
#define CLOCK_TICK_RATE 13300000
#elif defined CONFIG_ARCH_MX3
#define CLOCK_TICK_RATE 16625000
#endif

#endif /* __ASM_ARCH_MXC_TIMEX_H__ */

0 comments on commit 78c71db

Please sign in to comment.