summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mm-imx3.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-11-06 06:48:05 -0800
committerOlof Johansson <olof@lixom.net>2012-11-06 06:48:05 -0800
commit3b19119b95a52200c8ae3df3aa89c21c9a1a8894 (patch)
tree3ae74b8a35b3d1f639a68c1690af1c06e14a1571 /arch/arm/mach-imx/mm-imx3.c
parentccb1cfcb964fa8a8acd58b7783b2e82d7ad7975b (diff)
parente095c0d122c09efabe7d4136ce77f72c636c4879 (diff)
downloadblackbird-op-linux-3b19119b95a52200c8ae3df3aa89c21c9a1a8894.tar.gz
blackbird-op-linux-3b19119b95a52200c8ae3df3aa89c21c9a1a8894.zip
Merge tag 'calxeda-ecx-2000' of git://sources.calxeda.com/kernel/linux into next/soc
Support for Calxeda ECX-2000 SOC from Rob Herring * tag 'calxeda-ecx-2000' of git://sources.calxeda.com/kernel/linux: ARM: highbank: Add initial ECX-2000 support ARM: highbank: abstract out SCU usage ARM: smp_twd: don't warn on no DT node ARM: dts: Add Calxeda ECX-2000 support ARM: highbank: enable coherent DMA for xgmac in dts ARM: highbank: disable unused sdhci and gpio in dts + sync to Linux 3.7-rc3
Diffstat (limited to 'arch/arm/mach-imx/mm-imx3.c')
-rw-r--r--arch/arm/mach-imx/mm-imx3.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c
index 9d2c843bde02..b5deb0554552 100644
--- a/arch/arm/mach-imx/mm-imx3.c
+++ b/arch/arm/mach-imx/mm-imx3.c
@@ -108,9 +108,8 @@ void __init imx3_init_l2x0(void)
}
l2x0_base = ioremap(MX3x_L2CC_BASE_ADDR, 4096);
- if (IS_ERR(l2x0_base)) {
- printk(KERN_ERR "remapping L2 cache area failed with %ld\n",
- PTR_ERR(l2x0_base));
+ if (!l2x0_base) {
+ printk(KERN_ERR "remapping L2 cache area failed\n");
return;
}
OpenPOWER on IntegriCloud