[U-Boot] [PATCH] ppc/85xx: Don't enable interrupts before we're ready

Kumar Gala galak at kernel.crashing.org
Thu Sep 10 12:00:35 CEST 2009


From: Scott Wood <scottwood at freescale.com>

We cannot handle any exceptions while running in AS1, as the exceptions
will transition back to AS0 without a valid mapping.

Signed-off-by: Scott Wood <scottwood at freescale.com>
---
 cpu/mpc85xx/start.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpu/mpc85xx/start.S b/cpu/mpc85xx/start.S
index e21a4eb..eaed0e0 100644
--- a/cpu/mpc85xx/start.S
+++ b/cpu/mpc85xx/start.S
@@ -278,8 +278,8 @@ _start_e500:
 	msync
 	tlbwe
 
-	lis	r6,MSR_CE|MSR_ME|MSR_DE|MSR_IS|MSR_DS at h
-	ori	r6,r6,MSR_CE|MSR_ME|MSR_DE|MSR_IS|MSR_DS at l
+	lis	r6,MSR_IS|MSR_DS at h
+	ori	r6,r6,MSR_IS|MSR_DS at l
 	lis	r7,switch_as at h
 	ori	r7,r7,switch_as at l
 
-- 
1.6.0.6



More information about the U-Boot mailing list