patch-2.4.19 linux-2.4.19/arch/ppc/boot/simple/legacy.S

Next file: linux-2.4.19/arch/ppc/boot/simple/m8260_tty.c
Previous file: linux-2.4.19/arch/ppc/boot/simple/iic.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/ppc/boot/simple/legacy.S linux-2.4.19/arch/ppc/boot/simple/legacy.S
@@ -0,0 +1,19 @@
+/*
+ * arch/ppc/boot/simple/legacy.S
+ *
+ * Author: Tom Rini <trini@mvista.com>
+ *
+ * This will go and setup ISA_io to 0x8000000 and return.
+ */
+
+#include "ppc_asm.h"
+
+	.text
+
+	.globl serial_fixups
+serial_fixups:
+	lis	r3,ISA_io@h	/* Load ISA_io */
+	ori	r3,r3,ISA_io@l
+	lis	r4,0x8000	/* Load the value, 0x8000000 */
+	stw	r4,0(r3)	/* store */
+	blr

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)