Skip to contentSkip to conversation

axs101: fix dw gmac instantiation for updated dw gmac driver

PATCH In review Alexey Brodkin 2 participants 3 messages Feb 8, 2014 – Feb 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
Cc Tom Rini <[email protected]>
---
 board/synopsys/axs101/axs101.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/synopsys/axs101/axs101.c +1 -1
index 4dbeaea..d1271ff 100644
@@ -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;
 
Signature · 1 line
1.8.5.3
#1 lore raw

PATCH 1/1 axs101: fix dw gmac instantiation for updated dw gmac driver

Quoted 9 lines · Alexey Brodkin

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 <[email protected]>
Cc Tom Rini <[email protected]>

Hi Tom,

Please consider this patch for applying.
This patch is now required for compilation of axs101 board due to changes in DW GMAC driver you applied earlier.

-Alexey

#2 lore raw
In reply to Alexey Brodkin
Quoted 9 lines · Alexey Brodkin

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 <[email protected]>
Cc Tom Rini <[email protected]>

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140221/a8ccefe8/attachment.pgp>