arm: mvebu: Add v7_outer_cache_disable function for AXP & A38x
authorStefan Roese <sr@denx.de>
Mon, 14 Dec 2015 11:31:48 +0000 (12:31 +0100)
committerStefan Roese <sr@denx.de>
Thu, 14 Jan 2016 13:08:59 +0000 (14:08 +0100)
commitf0e8173a381a947e7a7d2078a50f6b5a6fc6d8c8
treea1c0a92d8857b923d773e2e16f0a4e0866379870
parent3e5ce7ceeb940926518378ff31913b263d41c354
arm: mvebu: Add v7_outer_cache_disable function for AXP & A38x

Add functionality to correctly disable the L2 cache on the Armada XP
and 38x platforms.

Without this, booting into Linux on ClearFog (A38x) results in a hangup
without any output on the serial console at all. Even with earlyprintk
enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
arch/arm/mach-mvebu/cpu.c