mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 10:30:32 +00:00
f885b84968
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 <merker@debian.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Karsten Merker <merker@debian.org> Tested-by: Zoltan HERPAI <wigyori@openwrt.org> Tested-by: Tony Zhang <tony.zhang@lemaker.org> Acked-by: Ian Campbell <ijc@hellion.org.uk> |
||
---|---|---|
.. | ||
ahci.c | ||
board.c | ||
dram_a10_olinuxino_l.c | ||
dram_a10s_olinuxino_m.c | ||
dram_a13_oli_micro.c | ||
dram_a13_olinuxino.c | ||
dram_a20_olinuxino_l.c | ||
dram_bananapi.c | ||
dram_cubieboard.c | ||
dram_cubieboard2.c | ||
dram_cubietruck.c | ||
dram_linksprite_pcduino3.c | ||
dram_r7dongle.c | ||
dram_sun4i_360_512.c | ||
dram_sun4i_360_1024_iow8.c | ||
dram_sun4i_360_1024_iow16.c | ||
dram_sun4i_384_1024_iow8.c | ||
dram_sun7i_384_512_busw16_iow16.c | ||
dram_sun7i_384_1024_iow16.c | ||
gmac.c | ||
Kconfig | ||
MAINTAINERS | ||
Makefile |