summaryrefslogtreecommitdiff
path: root/board/sunxi/gmac.c
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2014-11-11 13:21:26 +0100
committerHans de Goede <hdegoede@redhat.com>2014-11-13 14:49:02 +0100
commit64a97599b79e277600bc6f1b22cf48aa04ee9bd0 (patch)
treee4cbe90f14dc2239458460e2402e68a56c2a0bbd /board/sunxi/gmac.c
parent76946dfe69359496aa0fd144d102068334974916 (diff)
downloadu-boot-imx-64a97599b79e277600bc6f1b22cf48aa04ee9bd0.zip
u-boot-imx-64a97599b79e277600bc6f1b22cf48aa04ee9bd0.tar.gz
u-boot-imx-64a97599b79e277600bc6f1b22cf48aa04ee9bd0.tar.bz2
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>
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 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