On Tue, Sep 30, 2014 at 06:45:32PM +0200, Hans de Goede wrote: > In order for the gmac nic to work reliable on the Bananapi, we need to set > bits 10-12 GTXDC "GMAC Transmit Clock Delay Chain" of the GMAC clk register > (0x01c20164) to 3. > > Without this about 9 out of 10 ethernet packets get lost, with this setting > there is no packet loss. > > So far setting these bits is only necessary on the Bananapi, so this commit > solves this with a bit of #ifdef CONFIG_BANANAPI code. If in the future we > need to do something similar for other boards, we can create a specific > CONFIG_FOO option for this then. > > Reported-by: Karsten Merker <mer...@debian.org> > Signed-off-by: Hans de Goede <hdego...@redhat.com> > Tested-by: Karsten Merker <mer...@debian.org> > Tested-by: Zoltan HERPAI <wigy...@openwrt.org> > Tested-by: Tony Zhang <tony.zh...@lemaker.org> > Acked-by: Ian Campbell <i...@hellion.org.uk>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot