[PATCH] PPC44x: Fixes early bootup messages for Bamboo
Gerhard Jaeger
g.jaeger at sysgo.com
Tue Apr 12 00:17:10 EST 2005
While playing around with the Bamboo board (440EP based), I noticed,
that the early bootup messages won't work, because of the wrong TLB
setup for this processor. This patch fixes that issue.
-Gerhard
Signed-off-by: Gerhard Jaeger <gjaeger at sysgo.com>
--- linux-2.6.11/arch/ppc/kernel/head_44x.S.orig 2005-04-11 15:49:47.000000000 +0200
+++ linux-2.6.11/arch/ppc/kernel/head_44x.S 2005-04-11 15:50:43.000000000 +0200
@@ -190,7 +190,9 @@ skpinv: addi r4,r4,1 /* Increment */
/* xlat fields */
lis r4,UART0_PHYS_IO_BASE at h /* RPN depends on SoC */
+#ifndef CONFIG_440EP
ori r4,r4,0x0001 /* ERPN is 1 for second 4GB page */
+#endif /* CONFIG_440EP */
/* attrib fields */
li r5,0
More information about the Linuxppc-embedded
mailing list