Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187500
b: refs/heads/master
c: a3f5ac7
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König committed Jan 8, 2010
1 parent 9fd909e commit e99325f
Show file tree
Hide file tree
Showing 3 changed files with 8 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: 1f2ddd64da6e53365102d831aa9e0446b78f0300
refs/heads/master: a3f5ac7838a93977f71288310336a725eb6e62db
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-mx2/clock_imx21.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <asm/clkdev.h>
#include <asm/div64.h>

#define IO_ADDR_CCM(off) (IO_ADDRESS(MX21_CCM_BASE_ADDR) + (off))
#define IO_ADDR_CCM(off) (MX21_IO_ADDRESS(MX21_CCM_BASE_ADDR) + (off))

/* Register offsets */
#define CCM_CSCR IO_ADDR_CCM(0x0)
Expand Down Expand Up @@ -1235,7 +1235,7 @@ int __init mx21_clocks_init(unsigned long lref, unsigned long href)
clk_enable(&uart_clk[0]);
#endif

mxc_timer_init(&gpt_clk[0], IO_ADDRESS(MX21_GPT1_BASE_ADDR),
mxc_timer_init(&gpt_clk[0], MX21_IO_ADDRESS(MX21_GPT1_BASE_ADDR),
MX21_INT_GPT1);
return 0;
}
5 changes: 5 additions & 0 deletions trunk/arch/arm/plat-mxc/include/mach/mx21.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@

#define MX21_IRAM_BASE_ADDR 0xffffe800 /* internal ram */

#define MX21_IO_ADDRESS(x) ( \
IMX_IO_ADDRESS(x, MX21_AIPI) ?: \
IMX_IO_ADDRESS(x, MX21_SAHB1) ?: \
IMX_IO_ADDRESS(x, MX21_X_MEMC))

/* fixed interrupt numbers */
#define MX21_INT_CSPI3 6
#define MX21_INT_GPIO 8
Expand Down

0 comments on commit e99325f

Please sign in to comment.