summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mm-imx3.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-06-07 14:59:28 -0700
committerOlof Johansson <olof@lixom.net>2012-06-07 14:59:28 -0700
commit6f4b3bf5dc0edb5b08d96486f35f5cbc24b72c40 (patch)
tree4277ede78d08047ab1ab92cda179da7e40a357a7 /arch/arm/mach-imx/mm-imx3.c
parent434978e678605c8370d3d71e88796c264f70a8bf (diff)
parent350ab15bb2ffe7103bc6bf6c634f3c5b286eaf2a (diff)
downloadblackbird-op-linux-6f4b3bf5dc0edb5b08d96486f35f5cbc24b72c40.tar.gz
blackbird-op-linux-6f4b3bf5dc0edb5b08d96486f35f5cbc24b72c40.zip
Merge branch 'imx/fixes' of git://git.pengutronix.de/git/imx/linux-2.6 into fixes
* 'imx/fixes' of git://git.pengutronix.de/git/imx/linux-2.6: ARM i.MX imx21ads: Fix overlapping static i/o mappings ARM i.MX27 Visstrim M10: fix gpio handling. ARM: imx: only call l2x0_init if it's available ARM: imx: only specify i2c device type once ARM: mx31_3ds: Fix build due to missing IMX_HAVE_PLATFORM_IMX_SSI
Diffstat (limited to 'arch/arm/mach-imx/mm-imx3.c')
-rw-r--r--arch/arm/mach-imx/mm-imx3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c
index 0b211f63981f..a8983b9778d1 100644
--- a/arch/arm/mach-imx/mm-imx3.c
+++ b/arch/arm/mach-imx/mm-imx3.c
@@ -86,6 +86,7 @@ static void __iomem *imx3_ioremap_caller(unsigned long phys_addr, size_t size,
void __init imx3_init_l2x0(void)
{
+#ifdef CONFIG_CACHE_L2X0
void __iomem *l2x0_base;
void __iomem *clkctl_base;
@@ -115,6 +116,7 @@ void __init imx3_init_l2x0(void)
}
l2x0_init(l2x0_base, 0x00030024, 0x00000000);
+#endif
}
#ifdef CONFIG_SOC_IMX31
OpenPOWER on IntegriCloud