[PATCH] Add support for XMON on AMCC 440GX

Tom Rini trini at kernel.crashing.org
Tue Sep 27 07:37:27 EST 2005


Note: The hex address rather than define matches style in the rest of
the code.

Add support for XMON on the AMCC 440GX boards.

Signed-off-by: Cal Erickson <cerickson at mvista.com>
Signed-off-by: Tom Rini <trini at kernel.crashing.org>

--- a/arch/ppc/xmon/start.c	2003-12-30 17:41:00.000000000 -0800
+++ b/arch/ppc/xmon/new_start.c	2005-09-23 09:20:24.000000000 -0700
@@ -213,6 +213,12 @@
 	TXRDY = 0x20;
 	RXRDY = 1;
 	DLAB = 0x80;
+#elif defined(CONFIG_440GX)
+        sccd = (volatile unsigned char *)ioremap64(0x0000000140000200, 8);
+        sccc = (volatile unsigned char *)( sccd + 5 );
+        TXRDY = 0x20;
+        RXRDY = 1;
+        DLAB = 0x80;
 #endif /* platform */
 
 	__sysrq_put_key_op('x', &sysrq_xmon_op);

-- 
Tom Rini
http://gate.crashing.org/~trini/



More information about the Linuxppc-embedded mailing list