diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-12-16 13:06:12 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-01-08 10:41:26 -0500 |
commit | 1273e7686f0c122bf58592c57387471c7f4eaa1b (patch) | |
tree | bda9b03fdb443c6ddba8d78923fc14150776a991 /arch/arm/mach-mx3 | |
parent | bc9ea6c7f5352f8857525b054bc3df784be1b8d5 (diff) |
imx31: define and use MX31_IO_ADDRESS
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Daniel Mack <daniel@caiaq.de>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Magnus Lilja <lilja.magnus@gmail.com>
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r-- | arch/arm/mach-mx3/clock-imx31.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-mx3/crm_regs.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/iomux-imx31.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-mx3/clock-imx31.c b/arch/arm/mach-mx3/clock-imx31.c index cc03a61116e2..d22a66f502a8 100644 --- a/arch/arm/mach-mx3/clock-imx31.c +++ b/arch/arm/mach-mx3/clock-imx31.c | |||
@@ -625,7 +625,8 @@ int __init mx31_clocks_init(unsigned long fref) | |||
625 | __raw_writel(reg, MXC_CCM_PMCR1); | 625 | __raw_writel(reg, MXC_CCM_PMCR1); |
626 | } | 626 | } |
627 | 627 | ||
628 | mxc_timer_init(&ipg_clk, IO_ADDRESS(MX31_GPT1_BASE_ADDR), MX31_INT_GPT); | 628 | mxc_timer_init(&ipg_clk, MX31_IO_ADDRESS(MX31_GPT1_BASE_ADDR), |
629 | MX31_INT_GPT); | ||
629 | 630 | ||
630 | return 0; | 631 | return 0; |
631 | } | 632 | } |
diff --git a/arch/arm/mach-mx3/crm_regs.h b/arch/arm/mach-mx3/crm_regs.h index e25cd92dd427..37a8a07beda3 100644 --- a/arch/arm/mach-mx3/crm_regs.h +++ b/arch/arm/mach-mx3/crm_regs.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #define CKIH_CLK_FREQ_27MHZ 27000000 | 24 | #define CKIH_CLK_FREQ_27MHZ 27000000 |
25 | #define CKIL_CLK_FREQ 32768 | 25 | #define CKIL_CLK_FREQ 32768 |
26 | 26 | ||
27 | #define MXC_CCM_BASE IO_ADDRESS(MX31_CCM_BASE_ADDR) | 27 | #define MXC_CCM_BASE MX31_IO_ADDRESS(MX31_CCM_BASE_ADDR) |
28 | 28 | ||
29 | /* Register addresses */ | 29 | /* Register addresses */ |
30 | #define MXC_CCM_CCMR (MXC_CCM_BASE + 0x00) | 30 | #define MXC_CCM_CCMR (MXC_CCM_BASE + 0x00) |
diff --git a/arch/arm/mach-mx3/iomux-imx31.c b/arch/arm/mach-mx3/iomux-imx31.c index 6381e561961c..a1d7fa5123dc 100644 --- a/arch/arm/mach-mx3/iomux-imx31.c +++ b/arch/arm/mach-mx3/iomux-imx31.c | |||
@@ -29,7 +29,7 @@ | |||
29 | /* | 29 | /* |
30 | * IOMUX register (base) addresses | 30 | * IOMUX register (base) addresses |
31 | */ | 31 | */ |
32 | #define IOMUX_BASE IO_ADDRESS(MX31_IOMUXC_BASE_ADDR) | 32 | #define IOMUX_BASE MX31_IO_ADDRESS(MX31_IOMUXC_BASE_ADDR) |
33 | #define IOMUXINT_OBS1 (IOMUX_BASE + 0x000) | 33 | #define IOMUXINT_OBS1 (IOMUX_BASE + 0x000) |
34 | #define IOMUXINT_OBS2 (IOMUX_BASE + 0x004) | 34 | #define IOMUXINT_OBS2 (IOMUX_BASE + 0x004) |
35 | #define IOMUXGPR (IOMUX_BASE + 0x008) | 35 | #define IOMUXGPR (IOMUX_BASE + 0x008) |