diff mbox

[U-Boot] sunxi: gmac: Update bananapi fixup to the new CONFIG_TARGET_<BOARD> structure

Message ID 1415708486-21132-1-git-send-email-wigyori@uid0.hu
State Accepted
Delegated to: Ian Campbell
Headers show

Commit Message

Zoltan HERPAI Nov. 11, 2014, 12:21 p.m. UTC
The magic bit toucher needs to be updated to reflect the new board Kconfig structure

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
---
 board/sunxi/gmac.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ian Campbell Nov. 18, 2014, 7:52 p.m. UTC | #1
On Tue, 2014-11-11 at 13:21 +0100, Zoltan HERPAI wrote:
> 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: Ian Campbell <ijc@hellion.org.uk>
diff mbox

Patch

diff --git a/board/sunxi/gmac.c b/board/sunxi/gmac.c
index 6348d27..051aca0 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