summaryrefslogtreecommitdiff
path: root/include/asm-m68k/m5329.h
diff options
context:
space:
mode:
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>2008-01-14 17:23:08 -0600
committerTsiChungLiew <Tsi-Chung.Liew@freescale.com>2008-01-17 14:59:40 -0600
commitaa5f1f9dc815a76f6dffb580798599c028fe7feb (patch)
tree51cd7207011a10d8d93ce70f919f61064b8cf3eb /include/asm-m68k/m5329.h
parent1ac559d4aa358f63b48c62b564224c06feeb4e36 (diff)
downloadu-boot-imx-aa5f1f9dc815a76f6dffb580798599c028fe7feb.zip
u-boot-imx-aa5f1f9dc815a76f6dffb580798599c028fe7feb.tar.gz
u-boot-imx-aa5f1f9dc815a76f6dffb580798599c028fe7feb.tar.bz2
ColdFire: Add M5373EVB platform support - 2
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
Diffstat (limited to 'include/asm-m68k/m5329.h')
-rw-r--r--include/asm-m68k/m5329.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-m68k/m5329.h b/include/asm-m68k/m5329.h
index 8316fcf..c1669dc 100644
--- a/include/asm-m68k/m5329.h
+++ b/include/asm-m68k/m5329.h
@@ -1118,6 +1118,7 @@
#define GPIO_PCLRR_LCDCTLL7 (0x80)
/* Bit definitions and macros for GPIO_PAR_FEC */
+#ifdef CONFIG_M5329
#define GPIO_PAR_FEC_MII(x) (((x)&0x03)<<0)
#define GPIO_PAR_FEC_7W(x) (((x)&0x03)<<2)
#define GPIO_PAR_FEC_7W_GPIO (0x00)
@@ -1126,6 +1127,10 @@
#define GPIO_PAR_FEC_MII_GPIO (0x00)
#define GPIO_PAR_FEC_MII_UART (0x01)
#define GPIO_PAR_FEC_MII_FEC (0x03)
+#else
+#define GPIO_PAR_FEC_7W_FEC (0x08)
+#define GPIO_PAR_FEC_MII_FEC (0x02)
+#endif
/* Bit definitions and macros for GPIO_PAR_PWM */
#define GPIO_PAR_PWM1(x) (((x)&0x03)<<0)