Skip to contentSkip to conversation

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

PATCH New Zoltan HERPAI 2 participants 2 messages Nov 11, 2014 – Nov 18, 2014 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 board/sunxi/gmac.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/sunxi/gmac.c +1 -1
index 6348d27..051aca0 100644
@@ -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
 
Signature · 1 line
1.7.10.4