diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-09-16 14:22:04 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-09-17 09:08:13 -0700 |
commit | 6cefc8ee768402db087adb4193c7919564e1ac1b (patch) | |
tree | bbe87d5d4cf3d55af5b2424b4a1781e48221a465 /arch/arm/mach-ux500/cache-l2x0.c | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) | |
download | blackbird-op-linux-6cefc8ee768402db087adb4193c7919564e1ac1b.tar.gz blackbird-op-linux-6cefc8ee768402db087adb4193c7919564e1ac1b.zip |
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>
Diffstat (limited to 'arch/arm/mach-ux500/cache-l2x0.c')
-rw-r--r-- | arch/arm/mach-ux500/cache-l2x0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/cache-l2x0.c b/arch/arm/mach-ux500/cache-l2x0.c index 82ccf1d98735..264f894c0e3d 100644 --- a/arch/arm/mach-ux500/cache-l2x0.c +++ b/arch/arm/mach-ux500/cache-l2x0.c @@ -69,6 +69,7 @@ static int __init ux500_l2x0_init(void) * some SMI service available. */ outer_cache.disable = NULL; + outer_cache.set_debug = NULL; return 0; } |