ARM: 8309/1: l2c: enforce use of cache-level property
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 9 Mar 2015 17:54:32 +0000 (18:54 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 10 Mar 2015 10:24:56 +0000 (10:24 +0000)
commit1b4bd608763e063ea87e20030e05db005e70177f
treec320f551e7e65b5f2e634e463775430636fb9e4b
parent5744ff43c2c737055c65b9594b0783c1a2832a65
ARM: 8309/1: l2c: enforce use of cache-level property

Make sure that we can read the "cache-level" property from the L2 cache
controller node, and ensure its value is 2.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c