bcm53xx: enable the full-line-of-zero optimization in the cache controller
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44977
This commit is contained in:
parent
2efb6be426
commit
68ca1f285c
1 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
||||||
|
|
||||||
--- a/arch/arm/mach-bcm/bcm_5301x.c
|
--- a/arch/arm/mach-bcm/bcm_5301x.c
|
||||||
+++ b/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")
|
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 |
|
+ .l2c_aux_val = L310_AUX_CTRL_CACHE_REPLACE_RR |
|
||||||
+ L310_AUX_CTRL_DATA_PREFETCH |
|
+ L310_AUX_CTRL_DATA_PREFETCH |
|
||||||
+ L310_AUX_CTRL_INSTR_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,
|
.l2c_aux_mask = ~0,
|
||||||
.init_early = bcm5301x_init_early,
|
.init_early = bcm5301x_init_early,
|
||||||
.dt_compat = bcm5301x_dt_compat,
|
.dt_compat = bcm5301x_dt_compat,
|
||||||
|
|
Loading…
Reference in a new issue