]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/net/sun8i_emac.c
net: sun8i_emac: Do not configure AHB2 clock
[people/ms/u-boot.git] / drivers / net / sun8i_emac.c
index 4bed50d66808c2c505c0f9d0cff51577952a5602..508fbfea1977f648481892192697f1a91b169237 100644 (file)
@@ -599,9 +599,6 @@ static void sun8i_emac_board_setup(struct emac_eth_dev *priv)
        /* Set clock gating for emac */
        setbits_le32(&ccm->ahb_gate0, BIT(AHB_GATE_OFFSET_GMAC));
 
-       /* Set EMAC clock */
-       setbits_le32(&ccm->axi_gate, (BIT(1) | BIT(0)));
-
        /* De-assert EMAC */
        setbits_le32(&ccm->ahb_reset0_cfg, BIT(AHB_RESET_OFFSET_GMAC));
 }