mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
axs101: fix dw gmac instantiation for updated dw gmac driver
With accepted change to DW GMAC driver -
92a190aaab
(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>
This commit is contained in:
parent
94b5400e76
commit
f39b2a6e88
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue