From 5ec7e8338acc96768faa3e9b983e05989e4b99da Mon Sep 17 00:00:00 2001 From: Fugang Duan Date: Mon, 19 Mar 2012 16:55:02 +0800 Subject: ENGR00176834-2 - i.MX6DL sabresd: board bringup The serial of patches adds the initial support for mx6dl sabra sd board: - DDR3 400MHz@64bit, 1G, 256M*4 - SD/MMC basic operations - Add PIN/IOMUX support for mmx6dl sabresd. - Ethernet is ok for 100/1000Mbps. - OTP fuse Signed-off-by: Fugang Duan --- drivers/net/mxc_fec.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'drivers') diff --git a/drivers/net/mxc_fec.c b/drivers/net/mxc_fec.c index 636b606..60a0f0a 100644 --- a/drivers/net/mxc_fec.c +++ b/drivers/net/mxc_fec.c @@ -79,7 +79,8 @@ #if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) extern int mx6_rgmii_rework(char *devname, int phy_addr); #endif -#if defined(CONFIG_MX6Q_ARM2) || defined(CONFIG_MX6Q_SABRESD) +#if defined(CONFIG_MX6Q_ARM2) || defined(CONFIG_MX6Q_SABRESD) || \ + defined(CONFIG_MX6DL_SABRESD) #define PHY_MIPSCR_LINK_UP (0x1 << 10) #define PHY_MIPSCR_SPEED_MASK (0x3 << 14) #define PHY_MIPSCR_1000M (0x2 << 14) @@ -368,7 +369,8 @@ static void setFecDuplexSpeed(volatile fec_t *fecp, unsigned char addr, printf("FEC: Link is down %x\n", val); } /* for AR8031 PHY */ -#if defined(CONFIG_MX6Q_ARM2) || defined(CONFIG_MX6Q_SABRESD) +#if defined(CONFIG_MX6Q_ARM2) || defined(CONFIG_MX6Q_SABRESD) || \ + defined(CONFIG_MX6DL_SABRESD) ret = __fec_mii_read(fecp, addr, PHY_MIPSCR, &val); if (ret) dup_spd = _100BASET | (FULL << 16); -- cgit v1.1