[U-Boot] [PATCH] MCF5271: Added #defines for Edge Port Module (EPORT)

Richard Retanubun RichardRetanubun at RuggedCom.com
Fri Jun 5 23:12:03 CEST 2009


 From edb2947e95dc8dc1c91bc952002304267d02639f Mon Sep 17 00:00:00 2001
From: Richard Retanubun <RichardRetanubun at 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



More information about the U-Boot mailing list