From: Zoltan HERPAI <wigyori@uid0.hu>
Date: Tue, 11 Nov 2014 12:21:26 +0000 (+0100)
Subject: sunxi: gmac: Update bananapi fixup to the new CONFIG_TARGET_<BOARD> structure
X-Git-Tag: v2025.01-rc5-pxa1908~14312^2
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=64a97599b79e277600bc6f1b22cf48aa04ee9bd0;p=u-boot.git

sunxi: gmac: Update bananapi fixup to the new CONFIG_TARGET_<BOARD> structure

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>
---

diff --git a/board/sunxi/gmac.c b/board/sunxi/gmac.c
index 6348d27282..051aca01a8 100644
--- a/board/sunxi/gmac.c
+++ b/board/sunxi/gmac.c
@@ -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