* [PATCH] PPC44x: Fixes early bootup messages for Bamboo
@ 2005-04-11 14:17 Gerhard Jaeger
0 siblings, 0 replies; only message in thread
From: Gerhard Jaeger @ 2005-04-11 14:17 UTC (permalink / raw)
To: linuxppc-embedded
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@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@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-11 14:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-11 14:17 [PATCH] PPC44x: Fixes early bootup messages for Bamboo Gerhard Jaeger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox