summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/patches-3.18
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-25 14:30:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-25 14:30:40 +0000
commit68ca1f285ccda00ae3c5ee758919cc6f1a38e719 (patch)
treef01439944345fd2cc7998a1338f0d6f0885a5a82 /target/linux/bcm53xx/patches-3.18
parent2efb6be426656110b082a6cffcaf804bfef3320c (diff)
downloadmtk-20170518-68ca1f285ccda00ae3c5ee758919cc6f1a38e719.zip
mtk-20170518-68ca1f285ccda00ae3c5ee758919cc6f1a38e719.tar.gz
mtk-20170518-68ca1f285ccda00ae3c5ee758919cc6f1a38e719.tar.bz2
bcm53xx: enable the full-line-of-zero optimization in the cache controller
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44977
Diffstat (limited to 'target/linux/bcm53xx/patches-3.18')
-rw-r--r--target/linux/bcm53xx/patches-3.18/305-ARM-BCM53XX-set-customized-AUXCTL.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/bcm53xx/patches-3.18/305-ARM-BCM53XX-set-customized-AUXCTL.patch b/target/linux/bcm53xx/patches-3.18/305-ARM-BCM53XX-set-customized-AUXCTL.patch
index 4367b8b..79959ef 100644
--- a/target/linux/bcm53xx/patches-3.18/305-ARM-BCM53XX-set-customized-AUXCTL.patch
+++ b/target/linux/bcm53xx/patches-3.18/305-ARM-BCM53XX-set-customized-AUXCTL.patch
@@ -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,