summaryrefslogtreecommitdiff
path: root/board/st
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2018-01-18 14:10:04 +0100
committerTom Rini <trini@konsulko.com>2018-01-28 09:39:15 -0500
commit68a69ed2a41551063f012e1ef5f18f2eb4d07f34 (patch)
tree72f5021fae661f773b002a6e54c62aa5f0c33ea0 /board/st
parent1e130558ab65a3d7dc9d644e7a97dee4b543e698 (diff)
clk: clk_stm32f: Remove STMMAC clock setup
Thanks to 'commit ba1f96672522 ("net: designware: add clock support")' we don't need anymore to setup the STMMAC clock in board. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
Diffstat (limited to 'board/st')
-rw-r--r--board/st/stm32f746-disco/stm32f746-disco.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c
index 2e8aa86e81..58a5ef04c4 100644
--- a/board/st/stm32f746-disco/stm32f746-disco.c
+++ b/board/st/stm32f746-disco/stm32f746-disco.c
@@ -75,7 +75,6 @@ static int stmmac_setup(void)
clock_setup(SYSCFG_CLOCK_CFG);
/* Set >RMII mode */
STM32_SYSCFG->pmc |= SYSCFG_PMC_MII_RMII_SEL;
- clock_setup(STMMAC_CLOCK_CFG);
return 0;
}