summaryrefslogtreecommitdiffstats
path: root/board/sunxi/gmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/sunxi/gmac.c')
-rw-r--r--board/sunxi/gmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sunxi/gmac.c b/board/sunxi/gmac.c
index 571bc9e0ab..4e4615e12f 100644
--- a/board/sunxi/gmac.c
+++ b/board/sunxi/gmac.c
@@ -34,7 +34,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_TARGET_BANANAPI
+#if defined CONFIG_TARGET_BANANAPI || defined CONFIG_TARGET_BANANAPRO
setbits_le32(&ccm->gmac_clk_cfg, 0x3 << 10);
#endif
OpenPOWER on IntegriCloud