]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: socfpga: Use EMAC1 on SoCDK
authorMarek Vasut <marex@denx.de>
Thu, 9 Oct 2014 23:50:23 +0000 (01:50 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 10 Oct 2014 22:50:33 +0000 (00:50 +0200)
The SoCDK uses EMAC1, not EMAC0. This patch fixes the issue.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pavel Machek <pavel@denx.de>
include/configs/socfpga_cyclone5.h

index 8d54bf892daa268a5da56335a8ac5c887ab637b2..60d7e20e83b2678254e129127f221b5e6a74d0c4 100644 (file)
@@ -53,7 +53,7 @@
 
 /* Ethernet on SoC (EMAC) */
 #if defined(CONFIG_CMD_NET)
-#define CONFIG_EMAC_BASE               SOCFPGA_EMAC0_ADDRESS
+#define CONFIG_EMAC_BASE               SOCFPGA_EMAC1_ADDRESS
 #define CONFIG_PHY_INTERFACE_MODE      PHY_INTERFACE_MODE_RGMII
 #define CONFIG_EPHY0_PHY_ADDR          0