omap4: l2x0: Override the default l2x0_disable
commit4e803c40b33822b52389952040f490e79973e94a
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Sat, 31 Jul 2010 16:10:10 +0000 (31 21:40 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Tue, 26 Oct 2010 06:10:00 +0000 (26 11:40 +0530)
tree389ec7520f58b7ac136fb6853efbe3ff997740d5
parent2fd8658931193599c867fd6974fa184ec34af16c
omap4: l2x0: Override the default l2x0_disable

The machine_kexec() calls outer_disable which can crash on OMAP4
becasue of trustzone restrictions.

This patch overrides the default l2x0_disable with a OMAP4
specific implementation taking care of trustzone

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
arch/arm/mach-omap2/omap4-common.c