bcm53xx: enable the full-line-of-zero optimization in the cache controller
authorFelix Fietkau <nbd@openwrt.org>
Wed, 25 Mar 2015 14:30:40 +0000 (14:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 25 Mar 2015 14:30:40 +0000 (14:30 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44977

target/linux/bcm53xx/patches-3.18/305-ARM-BCM53XX-set-customized-AUXCTL.patch

index 4367b8b9015893fca19e1e8eef8bbb7709139b64..79959ef8aa28f5c67af8438601b9b004880a9aa9 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
 
 --- a/arch/arm/mach-bcm/bcm_5301x.c
 +++ b/arch/arm/mach-bcm/bcm_5301x.c
-@@ -49,7 +49,10 @@ static const char __initconst *bcm5301x_
+@@ -49,7 +49,11 @@ static const char __initconst *bcm5301x_
  };
  
  DT_MACHINE_START(BCM5301X, "BCM5301X")
@@ -22,7 +22,8 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
 +      .l2c_aux_val    = L310_AUX_CTRL_CACHE_REPLACE_RR |
 +                        L310_AUX_CTRL_DATA_PREFETCH |
 +                        L310_AUX_CTRL_INSTR_PREFETCH |
-+                        L310_AUX_CTRL_EARLY_BRESP,
++                        L310_AUX_CTRL_EARLY_BRESP |
++                        L310_AUX_CTRL_FULL_LINE_ZERO,
        .l2c_aux_mask   = ~0,
        .init_early     = bcm5301x_init_early,
        .dt_compat      = bcm5301x_dt_compat,