Commit 6cefc8ee authored by Linus Walleij's avatar Linus Walleij Committed by Olof Johansson

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: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 272b98c6
...@@ -69,6 +69,7 @@ static int __init ux500_l2x0_init(void) ...@@ -69,6 +69,7 @@ static int __init ux500_l2x0_init(void)
* some SMI service available. * some SMI service available.
*/ */
outer_cache.disable = NULL; outer_cache.disable = NULL;
outer_cache.set_debug = NULL;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment