ARM: ux500: disable outer cache debug
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 16 Sep 2013 12:22:04 +0000 (14:22 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 17 Sep 2013 16:08:13 +0000 (09:08 -0700)
commit6cefc8ee768402db087adb4193c7919564e1ac1b
treebbe87d5d4cf3d55af5b2424b4a1781e48221a465
parent272b98c6455f00884f0350f775c5342358ebb73f
ARM: ux500: disable outer cache debug

This fixes a multiplatform regression on the Ux500.

When compiling the Ux500 platforms in multiplatform configurations
both PL310_ERRATA_588369 and PL310_ERRATA_727915 would crash the
platform when trying to launch the init process.

The Ux500 cannot access the debug registers of the PL310, it will
just crash if you try this. So disable this by setting the debug
callback to NULL when initializing the l2x0 on this platform.

Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-ux500/cache-l2x0.c