]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: gmac: Update bananapi fixup to the new CONFIG_TARGET_<BOARD> structure
authorZoltan HERPAI <wigyori@uid0.hu>
Tue, 11 Nov 2014 12:21:26 +0000 (13:21 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 13 Nov 2014 13:49:02 +0000 (14:49 +0100)
The magic bit toucher needs to be updated to reflect the new board Kconfig structure

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
board/sunxi/gmac.c

index 6348d27282748d66cf6d55f484fdefa69d4a0af6..051aca01a83202fdb026458bdaf40711601d207f 100644 (file)
@@ -29,7 +29,7 @@ int sunxi_gmac_initialize(bd_t *bis)
         * need to set bits 10-12 GTXDC "GMAC Transmit Clock Delay Chain"
         * of the GMAC clk register to 3.
         */
-#ifdef CONFIG_BANANAPI
+#ifdef CONFIG_TARGET_BANANAPI
        setbits_le32(&ccm->gmac_clk_cfg, 0x3 << 10);
 #endif