linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Matt Porter <mporter@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>
Cc: linuxppc-embedded@ozlabs.org
Subject: [PATCH] Add support for XMON on AMCC 440GX
Date: Mon, 26 Sep 2005 14:37:27 -0700	[thread overview]
Message-ID: <20050926213727.GL18074@smtp.west.cox.net> (raw)

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/

                 reply	other threads:[~2005-09-26 21:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050926213727.GL18074@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=mporter@kernel.crashing.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).