commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=dde2bc267ee5782a9fd5ae41a8fdbc5db97e6dbb
branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/trunk

bfin_write32(L2CTL0_CTL, 0xff) will disable l2 ecc not enable.
This patch fix it.

Signed-off-by: Bob Liu <[email protected]>
---
 arch/blackfin/mm/sram-alloc.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/blackfin/mm/sram-alloc.c b/arch/blackfin/mm/sram-alloc.c
index df89b87..342e378 100644
--- a/arch/blackfin/mm/sram-alloc.c
+++ b/arch/blackfin/mm/sram-alloc.c
@@ -217,9 +217,6 @@ static void __init l2_sram_init(void)
 #ifdef __ADSPBF60x__
 	int ret;
 
-	/* enable ecc */
-	bfin_write32(L2CTL0_CTL, 0xff);
-
 	ret = request_irq(IRQ_L2CTL0_ECC_ERR, l2_ecc_err, 0, "l2-ecc-err",
 			NULL);
 	if (unlikely(ret < 0)) {
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to