Skip to contentSkip to conversation

PPC44x: Fixes early bootup messages for Bamboo

PATCH New Gerhard Jaeger 1 participant 1 message Apr 11, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PPC44x: Fixes early bootup messages for Bamboo

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

arch/ppc/kernel/head_44x.S renamed from arch/ppc/kernel/head_44x.S.orig +2 -0
@@ -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