ARM: PRIMA2: initialize l2x0 according to mach from DT
authorBarry Song <Baohua.Song@csr.com>
Thu, 20 Dec 2012 09:20:46 +0000 (17:20 +0800)
committerBarry Song <Barry.Song@csr.com>
Tue, 22 Jan 2013 11:37:15 +0000 (19:37 +0800)
commitea38960fb63ab5cce2442fa88f5041bcfb1ae8e3
tree88553d5fcf07d5aa59fe59496f47e3c72ccf8b5d
parent20ddfa9324b470764125f5ca555c315b5af13507
ARM: PRIMA2: initialize l2x0 according to mach from DT

prima2 and marco have diffetent l2 cache configuration, so
we initialize l2x0 cache based on dtb given to kernel.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
arch/arm/mach-prima2/l2x0.c