Message ID | 1391840675-15102-1-git-send-email-abrodkin@synopsys.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On Sat, 2014-02-08 at 10:24 +0400, Alexey Brodkin wrote: > 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> 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
On Sat, Feb 08, 2014 at 10:24:35AM +0400, Alexey Brodkin wrote: > 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> Applied to u-boot/master, thanks!
diff --git a/board/synopsys/axs101/axs101.c b/board/synopsys/axs101/axs101.c index 4dbeaea..d1271ff 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;
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> --- board/synopsys/axs101/axs101.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)