Skip to content
Snippets Groups Projects
Commit 64a97599 authored by Zoltan HERPAI's avatar Zoltan HERPAI Committed by Hans de Goede
Browse files

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: default avatarZoltan HERPAI <wigyori@uid0.hu>
Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 76946dfe
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ int sunxi_gmac_initialize(bd_t *bis) ...@@ -29,7 +29,7 @@ int sunxi_gmac_initialize(bd_t *bis)
* need to set bits 10-12 GTXDC "GMAC Transmit Clock Delay Chain" * need to set bits 10-12 GTXDC "GMAC Transmit Clock Delay Chain"
* of the GMAC clk register to 3. * of the GMAC clk register to 3.
*/ */
#ifdef CONFIG_BANANAPI #ifdef CONFIG_TARGET_BANANAPI
setbits_le32(&ccm->gmac_clk_cfg, 0x3 << 10); setbits_le32(&ccm->gmac_clk_cfg, 0x3 << 10);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment