diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-12-09 05:57:21 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-01-05 04:10:07 -0500 |
commit | f568dd7f5805bfa9e99f6df866300498b55eb8f4 (patch) | |
tree | 4efe659551b4acfa76663fb02240ffde7ec1c1d5 /arch/arm/mach-mx3/mx31pdk.c | |
parent | 3f35d1f5e4507ea4eb7ff5feaf624737c1b47631 (diff) |
imx/mach-mx3: use constants namespaced by the corresponding SOC (easy part)
This just leaves cpu.c, devices.c and mm.c to clean up. As these files
are used on more than one SOC they need some more work.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Alberto Panizzo <maramaopercheseimorto@gmail.com>
Cc: Valentin Longchamp <valentin.longchamp@epfl.ch>
Cc: Daniel Mack <daniel@caiaq.de>
Cc: Guennadi Liakhovetski <lg@denx.de>
Cc: Yoichi Yuasa <yuasa@linux-mips.org>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Magnus Lilja <lilja.magnus@gmail.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Harro Haan <hrhaan@yahoo.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Luotao Fu <l.fu@pengutronix.de>
Cc: Ilya Yanok <yanok@emcraft.com>
Diffstat (limited to 'arch/arm/mach-mx3/mx31pdk.c')
-rw-r--r-- | arch/arm/mach-mx3/mx31pdk.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-mx3/mx31pdk.c b/arch/arm/mach-mx3/mx31pdk.c index 18715f1aa7eb..e71e3b401628 100644 --- a/arch/arm/mach-mx3/mx31pdk.c +++ b/arch/arm/mach-mx3/mx31pdk.c | |||
@@ -211,9 +211,9 @@ static int __init mx31pdk_init_expio(void) | |||
211 | */ | 211 | */ |
212 | static struct map_desc mx31pdk_io_desc[] __initdata = { | 212 | static struct map_desc mx31pdk_io_desc[] __initdata = { |
213 | { | 213 | { |
214 | .virtual = CS5_BASE_ADDR_VIRT, | 214 | .virtual = MX31_CS5_BASE_ADDR_VIRT, |
215 | .pfn = __phys_to_pfn(CS5_BASE_ADDR), | 215 | .pfn = __phys_to_pfn(MX31_CS5_BASE_ADDR), |
216 | .length = CS5_SIZE, | 216 | .length = MX31_CS5_SIZE, |
217 | .type = MT_DEVICE, | 217 | .type = MT_DEVICE, |
218 | }, | 218 | }, |
219 | }; | 219 | }; |
@@ -256,8 +256,8 @@ static struct sys_timer mx31pdk_timer = { | |||
256 | */ | 256 | */ |
257 | MACHINE_START(MX31_3DS, "Freescale MX31PDK (3DS)") | 257 | MACHINE_START(MX31_3DS, "Freescale MX31PDK (3DS)") |
258 | /* Maintainer: Freescale Semiconductor, Inc. */ | 258 | /* Maintainer: Freescale Semiconductor, Inc. */ |
259 | .phys_io = AIPS1_BASE_ADDR, | 259 | .phys_io = MX31_AIPS1_BASE_ADDR, |
260 | .io_pg_offst = ((AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, | 260 | .io_pg_offst = ((MX31_AIPS1_BASE_ADDR_VIRT) >> 18) & 0xfffc, |
261 | .boot_params = PHYS_OFFSET + 0x100, | 261 | .boot_params = PHYS_OFFSET + 0x100, |
262 | .map_io = mx31pdk_map_io, | 262 | .map_io = mx31pdk_map_io, |
263 | .init_irq = mx31_init_irq, | 263 | .init_irq = mx31_init_irq, |