arm: mvebu: Disable L2 cache before enabling d-cache
authorStefan Roese <sr@denx.de>
Mon, 18 May 2015 16:09:43 +0000 (16:09 +0000)
committerLuka Perkov <luka.perkov@sartura.hr>
Sun, 14 Jun 2015 15:48:28 +0000 (17:48 +0200)
commit5730360efc153aefaddb980287a3b3c8eab26351
tree3fa3e313a14b66dffc7ec6a15cdb09f117f42b4b
parenta0aad12346b2cc848b8d592067ca74cb6a1721f8
arm: mvebu: Disable L2 cache before enabling d-cache

L2 cache may still be enabled by the BootROM. We need to first disable
it before enabling d-cache support.

Signed-off-by: Stefan Roese <sr@denx.de>
Tested-by: Kevin Smith <kevin.smith@elecsyscorp.com>
arch/arm/mach-mvebu/cpu.c