summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFugang Duan <B38611@freescale.com>2012-03-19 16:55:02 +0800
committerFugang Duan <B38611@freescale.com>2012-03-20 13:36:36 +0800
commit5ec7e8338acc96768faa3e9b983e05989e4b99da (patch)
tree25663d3d62cb401c26a59946457a4aa4895858dc /drivers
parentf175905d501d4c034fda4c4451d17aedf993c0fe (diff)
downloadu-boot-imx-5ec7e8338acc96768faa3e9b983e05989e4b99da.zip
u-boot-imx-5ec7e8338acc96768faa3e9b983e05989e4b99da.tar.gz
u-boot-imx-5ec7e8338acc96768faa3e9b983e05989e4b99da.tar.bz2
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 <B38611@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/mxc_fec.c6
1 files changed, 4 insertions, 2 deletions
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);