summaryrefslogtreecommitdiff
path: root/board/synopsys/axs101/axs101.c
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2014-02-08 10:24:35 +0400
committerTom Rini <trini@ti.com>2014-02-21 07:54:05 -0500
commitf39b2a6e88ba6328879507d618da5d44dd9b4297 (patch)
treea32d4bd93a80cd6595ecd547b7158720ba4b2529 /board/synopsys/axs101/axs101.c
parent94b5400e76f6a5100e2af88de274b0a6881bf94d (diff)
axs101: fix dw gmac instantiation for updated dw gmac driver
With accepted change to DW GMAC driver - 92a190aaab3536d695c51e0739f925910eb49889 (net/designware - switch driver to phylib usage) we need to update this board because "designware_initialize" now accepts only 2 parameters instead of 4. Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Tom Rini <trini@ti.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'board/synopsys/axs101/axs101.c')
-rw-r--r--board/synopsys/axs101/axs101.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/synopsys/axs101/axs101.c b/board/synopsys/axs101/axs101.c
index 4dbeaea161..d1271ffcca 100644
--- a/board/synopsys/axs101/axs101.c
+++ b/board/synopsys/axs101/axs101.c
@@ -36,7 +36,7 @@ int board_mmc_init(bd_t *bis)
int board_eth_init(bd_t *bis)
{
- if (designware_initialize(0, ARC_DWGMAC_BASE, 0,
+ if (designware_initialize(ARC_DWGMAC_BASE,
PHY_INTERFACE_MODE_RGMII) >= 0)
return 1;