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

Zoltan HERPAI wigyori at uid0.hu
Tue Nov 11 13:21:26 CET 2014


The magic bit toucher needs to be updated to reflect the new board Kconfig structure

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

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



More information about the U-Boot mailing list