summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-03-22 17:38:48 +0800
committerTerry Lv <r65388@freescale.com>2010-03-22 17:53:45 +0800
commit1842946ef735d969e99be097812bbc383e7f8dc1 (patch)
tree2b0be95d12ad93ab8ac17b0259dd84e52d6278c7 /drivers/net
parente84eaf4df6db1f4038580ec88d3e4a49624363eb (diff)
downloadu-boot-imx-1842946ef735d969e99be097812bbc383e7f8dc1.zip
u-boot-imx-1842946ef735d969e99be097812bbc383e7f8dc1.tar.gz
u-boot-imx-1842946ef735d969e99be097812bbc383e7f8dc1.tar.bz2
ENGR00121832: Some code reconstructure for u-boot
1. Remove board specific code in mxc_i2c.c. 2. Remove board specific code in mxc_fec.c. 3. Move imx_spi_nor.h to include/asm-arm. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/mxc_fec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/mxc_fec.c b/drivers/net/mxc_fec.c
index 0e6c0b0..b828240 100644
--- a/drivers/net/mxc_fec.c
+++ b/drivers/net/mxc_fec.c
@@ -93,10 +93,10 @@
DECLARE_GLOBAL_DATA_PTR;
-#if defined(CONFIG_MX25) || defined(CONFIG_MX53)
+#if defined(CONFIG_MII_GASKET)
/*
- * * i.MX25 allows RMII mode to be configured via a gasket
- * */
+ * RMII mode to be configured via a gasket
+ */
#define FEC_MIIGSK_CFGR_FRCONT (1 << 6)
#define FEC_MIIGSK_CFGR_LBMODE (1 << 4)
#define FEC_MIIGSK_CFGR_EMODE (1 << 3)