Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187504
b: refs/heads/master
c: 6ef9af6
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König committed Jan 8, 2010
1 parent 27f9181 commit dbdb941
Show file tree
Hide file tree
Showing 3 changed files with 11 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: df9375fad4f99b28f5a500d9aa2cbb04e065ac97
refs/heads/master: 6ef9af6871e3f220c6c7facf90babe6931d972bd
5 changes: 3 additions & 2 deletions trunk/arch/arm/mach-mx3/clock-imx35.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <mach/hardware.h>
#include <mach/common.h>

#define CCM_BASE IO_ADDRESS(MX35_CCM_BASE_ADDR)
#define CCM_BASE MX35_IO_ADDRESS(MX35_CCM_BASE_ADDR)

#define CCM_CCMR 0x00
#define CCM_PDR0 0x04
Expand Down Expand Up @@ -504,7 +504,8 @@ int __init mx35_clocks_init()
__raw_writel((3 << 26) | ll, CCM_BASE + CCM_CGR2);
__raw_writel(0, CCM_BASE + CCM_CGR3);

mxc_timer_init(&gpt_clk, IO_ADDRESS(MX35_GPT1_BASE_ADDR), MX35_INT_GPT);
mxc_timer_init(&gpt_clk,
MX35_IO_ADDRESS(MX35_GPT1_BASE_ADDR), MX35_INT_GPT);

return 0;
}
Expand Down
7 changes: 7 additions & 0 deletions trunk/arch/arm/plat-mxc/include/mach/mx35.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@
#define MX35_NFC_BASE_ADDR 0xbb000000
#define MX35_PCMCIA_MEM_BASE_ADDR 0xbc000000

#define MX35_IO_ADDRESS(x) ( \
IMX_IO_ADDRESS(x, MX35_AIPS1) ?: \
IMX_IO_ADDRESS(x, MX35_AIPS2) ?: \
IMX_IO_ADDRESS(x, MX35_AVIC) ?: \
IMX_IO_ADDRESS(x, MX35_X_MEMC) ?: \
IMX_IO_ADDRESS(x, MX35_SPBA0))

/*
* Interrupt numbers
*/
Expand Down

0 comments on commit dbdb941

Please sign in to comment.