public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Richard Retanubun <RichardRetanubun@RuggedCom.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] MCF5271: Added #defines for Edge Port Module (EPORT)
Date: Fri, 05 Jun 2009 17:12:03 -0400	[thread overview]
Message-ID: <4A298A23.7060706@RuggedCom.com> (raw)

 From edb2947e95dc8dc1c91bc952002304267d02639f Mon Sep 17 00:00:00 2001
From: Richard Retanubun <RichardRetanubun@RuggedCom.com>
Date: Fri, 5 Jun 2009 15:54:56 -0400
Subject: [PATCH] MCF5271: Added #defines for Edge Port Module (EPORT)

This patch adds #defines of EPORT registers as offsets from IPSBAR (MBAR)
---
  include/asm-m68k/m5271.h |    8 ++++++++
  1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/include/asm-m68k/m5271.h b/include/asm-m68k/m5271.h
index d25261b..8bcf6d6 100644
--- a/include/asm-m68k/m5271.h
+++ b/include/asm-m68k/m5271.h
@@ -261,4 +261,12 @@
  #define INT0_HI_CAN1_BOFFINT		(60)
  /* 60-63 Reserved */

+/* Edge Port Module (EPORT) Register offser from CONFIG_SYS_MBAR */
+#define MCF_EPORT_EPPAR			0x130000
+#define MCF_EPORT_EPPDDR		0x130002
+#define MCF_EPORT_EPIER			0x130003
+#define MCF_EPORT_EPDR			0x130004
+#define MCF_EPORT_EPPDR			0x130005
+#define MCF_EPORT_EPFR			0x130006
+
  #endif				/* _MCF5271_H_ */
-- 
1.6.2.4

             reply	other threads:[~2009-06-05 21:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-05 21:12 Richard Retanubun [this message]
2009-06-08 15:18 ` [U-Boot] [PATCH] MCF5271: Added #defines for Edge Port Module (EPORT) TC Liew

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=4A298A23.7060706@RuggedCom.com \
    --to=richardretanubun@ruggedcom.com \
    --cc=u-boot@lists.denx.de \
    /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