arm, arm-kirkwood: disable l2c before linux boot
authorMichael Walle <[michael@walle.cc]>
Mon, 6 Feb 2012 17:12:10 +0000 (22:42 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:28 +0000 (10:11 +0100)
commit679530278d5a79d34e356ad2d452f4400953bfc2
treeeafc51c5a4b0850744f7a85d6139b075a9c52e2d
parent81a6c009fe4f457ba1f3eab4c7369fde27b2ba16
arm, arm-kirkwood: disable l2c before linux boot

The decompressor expects the L2 cache to be disabled. This fixes booting
some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled.

Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
Cc: Wolfgang Denk <wd@denx.de>
arch/arm/cpu/arm926ejs/cache.c
arch/arm/cpu/arm926ejs/cpu.c
arch/arm/cpu/arm926ejs/kirkwood/Makefile
arch/arm/cpu/arm926ejs/kirkwood/cache.c [new file with mode: 0644]