summaryrefslogtreecommitdiff
path: root/include/asm-arm/fec.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-03-16 16:09:39 +0800
committerTerry Lv <r65388@freescale.com>2010-03-16 16:11:58 +0800
commit029aff138902466bdfc1e62c761e89f8d37e83ea (patch)
treef561d343e3001cd970f6d8f2292dac3cc9c0c5d2 /include/asm-arm/fec.h
parentaca6f560d03a0780d4713e1f458e132bec28f37b (diff)
downloadu-boot-imx-029aff138902466bdfc1e62c761e89f8d37e83ea.zip
u-boot-imx-029aff138902466bdfc1e62c761e89f8d37e83ea.tar.gz
u-boot-imx-029aff138902466bdfc1e62c761e89f8d37e83ea.tar.bz2
ENGR000121601: FEC not work in mx28 u-boot
FEC not work in mx28 u-boot. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/asm-arm/fec.h')
-rw-r--r--include/asm-arm/fec.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-arm/fec.h b/include/asm-arm/fec.h
index 226bb26..48da9c5 100644
--- a/include/asm-arm/fec.h
+++ b/include/asm-arm/fec.h
@@ -212,7 +212,19 @@ typedef struct fec {
#define FEC_MIBC_MIB_IDLE (0x40000000)
/* Bit definitions and macros for FEC_RCR */
+#define FEC_RCR_GRS (0x80000000)
+#define FEC_RCR_NO_LGTH_CHECK (0x40000000)
#define FEC_RCR_MAX_FL(x) (((x)&0x7FF)<<16)
+#define FEC_RCR_CNTL_FRM_ENA (0x00008000)
+#define FEC_RCR_CRC_FWD (0x00004000)
+#define FEC_RCR_PAUSE_FWD (0x00002000)
+#define FEC_RCR_PAD_EN (0x00001000)
+#define FEC_RCR_RMII_ECHO (0x00000800)
+#define FEC_RCR_RMII_LOOP (0x00000400)
+#define FEC_RCR_RMII_10T (0x00000200)
+#define FEC_RCR_RMII_MODE (0x00000100)
+#define FEC_RCR_SGMII_ENA (0x00000080)
+#define FEC_RCR_RGMII_ENA (0x00000040)
#define FEC_RCR_FCE (0x00000020)
#define FEC_RCR_BC_REJ (0x00000010)
#define FEC_RCR_PROM (0x00000008)