* [U-Boot] [PATCH] powerpc/85xx: Fix bug in dcache_disable
@ 2011-01-05 16:39 Kumar Gala
2011-01-06 16:10 ` Kumar Gala
0 siblings, 1 reply; 2+ messages in thread
From: Kumar Gala @ 2011-01-05 16:39 UTC (permalink / raw)
To: u-boot
We set the L1 dache register with a bogus register value. Need to be
using 'r3' instead of 'r0'.
Reported-by: John Traill <john.traill@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
arch/powerpc/cpu/mpc85xx/start.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S
index 945c1b8..fa98af6 100644
--- a/arch/powerpc/cpu/mpc85xx/start.S
+++ b/arch/powerpc/cpu/mpc85xx/start.S
@@ -1,5 +1,5 @@
/*
- * Copyright 2004, 2007-2010 Freescale Semiconductor, Inc.
+ * Copyright 2004, 2007-2011 Freescale Semiconductor, Inc.
* Copyright (C) 2003 Motorola,Inc.
*
* See file CREDITS for list of people who contributed to this
@@ -753,7 +753,7 @@ dcache_disable:
lis r4,0
ori r4,r4,L1CSR0_DCE
andc r3,r3,r4
- mtspr L1CSR0,r0
+ mtspr L1CSR0,r3
isync
blr
--
1.7.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] powerpc/85xx: Fix bug in dcache_disable
2011-01-05 16:39 [U-Boot] [PATCH] powerpc/85xx: Fix bug in dcache_disable Kumar Gala
@ 2011-01-06 16:10 ` Kumar Gala
0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2011-01-06 16:10 UTC (permalink / raw)
To: u-boot
On Jan 5, 2011, at 10:39 AM, Kumar Gala wrote:
> We set the L1 dache register with a bogus register value. Need to be
> using 'r3' instead of 'r0'.
>
> Reported-by: John Traill <john.traill@freescale.com>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> arch/powerpc/cpu/mpc85xx/start.S | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
applied to 85xx
- k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-06 16:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-05 16:39 [U-Boot] [PATCH] powerpc/85xx: Fix bug in dcache_disable Kumar Gala
2011-01-06 16:10 ` Kumar Gala
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.