Skip to contentSkip to conversation

MCF5271: Added #defines for Edge Port Module (EPORT)

PATCH New Richard Retanubun 2 participants 2 messages Jun 5, 2009 – Jun 8, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MCF5271: Added #defines for Edge Port Module (EPORT)

From edb2947e95dc8dc1c91bc952002304267d02639f Mon Sep 17 00:00:00 2001
From: Richard Retanubun <[email protected]>
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(-)
include/asm-m68k/m5271.h +8 -0
index d25261b..8bcf6d6 100644
@@ -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_ */
Signature · 1 line
1.6.2.4
#1 lore raw

PATCH 1/1 MCF5271: Added #defines for Edge Port Module (EPORT)

Richard,

Nack. It is already existed in asm-m68k/coldfire/eport.h

Regards,
TsiChung

Quoted 35 lines · Richard Retanubun

?From edb2947e95dc8dc1c91bc952002304267d02639f Mon Sep 17 00:00:00 2001
From: Richard Retanubun <[email protected]>
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(-)

include/asm-m68k/m5271.h +0 -0
index d25261b..8bcf6d6 100644
@@ -261,4 +261,12 @@
 ?#define INT0_HI_CAN1_BOFFINT ? ? ? ? ?(60)

?/* 60-63 Reserved */

include/asm-m68k/m5271.h +8 -0
+/* 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

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot