u-boot: drivers: net: Remove wrongly config gmac en

Change-Id: Ia903b3a38390e2811dc0e8be93e76c529488a547
Signed-off-by: speriaka <speriaka@codeaurora.org>
This commit is contained in:
speriaka 2019-05-24 10:35:29 +05:30 committed by Gerrit - the friendly Code Review server
parent ee6d41bc17
commit c4b7eb8d77

View file

@ -160,15 +160,6 @@ static void ipq6018_vsi_setup(int vsi, uint8_t group_mask)
ipq6018_ppe_reg_write(0x061804 + (vsi * 0x10), 0x9);
}
/*
* ipq6018_gmac_enable()
*/
static void ipq6018_gmac_enable(void)
{
writel(0x0, 0x1008004);
}
/*
* ipq6018_gmac_port_enable()
*/
@ -1220,8 +1211,6 @@ void ipq6018_ppe_provision_init(void)
ipq6018_ppe_tdm_configuration();
ipq6018_ppe_sched_configuration();
ipq6018_gmac_enable();
/* disable clock gating */
ipq6018_ppe_reg_write(0x000008, 0x0);