From 029aff138902466bdfc1e62c761e89f8d37e83ea Mon Sep 17 00:00:00 2001 From: Terry Lv Date: Tue, 16 Mar 2010 16:09:39 +0800 Subject: ENGR000121601: FEC not work in mx28 u-boot FEC not work in mx28 u-boot. Signed-off-by: Terry Lv --- include/asm-arm/fec.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/asm-arm/fec.h') 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) -- cgit v1.1