patch-2.1.124 linux/arch/ppc/coffboot/misc.S

Next file: linux/arch/ppc/coffboot/zlib.c
Previous file: linux/arch/ppc/coffboot/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.123/linux/arch/ppc/coffboot/misc.S linux/arch/ppc/coffboot/misc.S
@@ -21,13 +21,16 @@
 	bne	4f
 	ori	4,4,4			/* set up BAT registers for 601 */
 	li	5,0x7f
-	b	5f
-4:	ori	4,4,0xff		/* set up BAT registers for 604 */
+	mtibatu	3,4
+	mtibatl	3,5
+	isync
+	blr
+4:	ori	4,4,0xfe		/* set up BAT registers for 604 */
 	li	5,2
-	mtdbatu	3,4
 	mtdbatl	3,5
-5:	mtibatu	3,4
+	mtdbatu	3,4
 	mtibatl	3,5
+	mtibatu	3,4
 	isync
 	blr
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov