Skip to contentSkip to conversation

Add support for XMON on AMCC 440GX

PATCH New Tom Rini 1 participant 1 message Sep 26, 2005

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Add support for XMON on AMCC 440GX

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

Add support for XMON on the AMCC 440GX boards.

arch/ppc/xmon/new_start.c renamed from arch/ppc/xmon/start.c +6 -0
@@ -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);
Signature · 2 lines
Tom Rini
http://gate.crashing.org/~trini/