diff options
author | Christian Daudt <csd@broadcom.com> | 2013-05-09 17:21:01 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-05-15 14:39:27 -0400 |
commit | 3b656fed6ff65d6d268da9ed0760c2a58d125771 (patch) | |
tree | 17ec053049fedb78e072fbafd055e8ba712422b2 /arch/arm/boot | |
parent | faefd550c45d8d314e8f260f21565320355c947f (diff) |
ARM: 7716/1: bcm281xx: Add L2 support for Rev A2 chips
Rev A2 SoCs have an unorthodox memory re-mapping and this needs
to be reflected in the cache operations.
This patch adds new outer cache functions for the l2x0 driver
to support this SoC revision. It also adds a new compatible
value for the cache to enable this functionality.
Updates from V1:
- remove section 1 altogether and note that in comments
- simplify section selection caused by section 1 removal
- BUG_ON just in case section 1 shows up
Signed-off-by: Christian Daudt <csd@broadcom.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/bcm11351.dtsi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index 41b2c6c33f09..5e48c85abc2f 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi | |||
@@ -47,10 +47,10 @@ | |||
47 | }; | 47 | }; |
48 | 48 | ||
49 | L2: l2-cache { | 49 | L2: l2-cache { |
50 | compatible = "arm,pl310-cache"; | 50 | compatible = "bcm,bcm11351-a2-pl310-cache"; |
51 | reg = <0x3ff20000 0x1000>; | 51 | reg = <0x3ff20000 0x1000>; |
52 | cache-unified; | 52 | cache-unified; |
53 | cache-level = <2>; | 53 | cache-level = <2>; |
54 | }; | 54 | }; |
55 | 55 | ||
56 | timer@35006000 { | 56 | timer@35006000 { |