1 Index: u-boot-2015.01/board/sunxi/gmac.c
2 ===================================================================
3 --- u-boot-2015.01.orig/board/sunxi/gmac.c
4 +++ u-boot-2015.01/board/sunxi/gmac.c
5 @@ -34,7 +34,7 @@ int sunxi_gmac_initialize(bd_t *bis)
6 * need to set bits 10-12 GTXDC "GMAC Transmit Clock Delay Chain"
7 * of the GMAC clk register to 3.
9 -#ifdef CONFIG_TARGET_BANANAPI
10 +#ifdef CONFIG_SUNXI_GMAC_TX_DELAY_3
11 setbits_le32(&ccm->gmac_clk_cfg, 0x3 << 10);
14 Index: u-boot-2015.01/configs/Bananapi_defconfig
15 ===================================================================
16 --- u-boot-2015.01.orig/configs/Bananapi_defconfig
17 +++ u-boot-2015.01/configs/Bananapi_defconfig
20 -CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
21 +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,SUNXI_GMAC_TX_DELAY_3,RGMII,MACPWR=SUNXI_GPH(23),AHCI,USB_EHCI"
22 CONFIG_FDTFILE="sun7i-a20-bananapi.dtb"
24 +S:CONFIG_ARCH_SUNXI=y