* [PATCH] Add support for XMON on AMCC 440GX
@ 2005-09-26 21:37 Tom Rini
0 siblings, 0 replies; only message in thread
From: Tom Rini @ 2005-09-26 21:37 UTC (permalink / raw)
To: Matt Porter, Paul Mackerras; +Cc: linuxppc-embedded
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@mvista.com>
Signed-off-by: Tom Rini <trini@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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-26 21:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-26 21:37 [PATCH] Add support for XMON on AMCC 440GX Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).