diff options
author | Nancy Chen <Nancy.Chen@freescale.com> | 2012-01-23 05:39:32 -0600 |
---|---|---|
committer | Nancy Chen <Nancy.Chen@freescale.com> | 2012-01-24 10:08:28 -0600 |
commit | 23971b0a8f674460c367b9556bc3e4c95e16faeb (patch) | |
tree | e59ac3d6b2dbcc5e6d01cd020c8b192c07631fce /drivers | |
parent | 62ade1e4ba642f476d0f7a6f756d9e6f14d3c0bb (diff) | |
download | u-boot-imx-23971b0a8f674460c367b9556bc3e4c95e16faeb.zip u-boot-imx-23971b0a8f674460c367b9556bc3e4c95e16faeb.tar.gz u-boot-imx-23971b0a8f674460c367b9556bc3e4c95e16faeb.tar.bz2 |
ENGR00172343 Add suport for i.MX 6Q Sabre Smart Device
Add suport for i.MX 6Quad SABRE Smart Device.
Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
Signed-off-by: Tony Lin <tony.lin@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/mxc_fec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/mxc_fec.c b/drivers/net/mxc_fec.c index 00b671d..42d687a 100644 --- a/drivers/net/mxc_fec.c +++ b/drivers/net/mxc_fec.c @@ -2,7 +2,7 @@ * (C) Copyright 2000-2004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * - * (C) Copyright 2008-2011 Freescale Semiconductor, Inc. + * (C) Copyright 2008-2012 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project. @@ -79,7 +79,7 @@ #if defined (CONFIG_MX6Q) extern int mx6_rgmii_rework(char *devname, int phy_addr); #endif -#ifdef CONFIG_MX6Q_ARM2 +#if defined(CONFIG_MX6Q_ARM2) || defined(CONFIG_MX6Q_SABRESD) #define PHY_MIPSCR_LINK_UP (0x1 << 10) #define PHY_MIPSCR_SPEED_MASK (0x3 << 14) #define PHY_MIPSCR_1000M (0x2 << 14) @@ -368,7 +368,7 @@ static void setFecDuplexSpeed(volatile fec_t *fecp, unsigned char addr, printf("FEC: Link is down %x\n", val); } /* for AR8031 PHY */ -#ifdef CONFIG_MX6Q_ARM2 +#if defined(CONFIG_MX6Q_ARM2) || defined(CONFIG_MX6Q_SABRESD) ret = __fec_mii_read(fecp, addr, PHY_MIPSCR, &val); if (ret) dup_spd = _100BASET | (FULL << 16); |