Subject: [PATCH] PPC44x: Fixes early bootup messages for Bamboo

From: Gerhard Jaeger <[email-masked]>
Date: Mon, 11 Apr 2005 16:17:10 +0200

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 <[email-masked]>

--- 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