mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
clk: clk_stm32f: Remove STMMAC clock setup
Thanks to 'commit ba1f966725
("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>
This commit is contained in:
committed by
Tom Rini
parent
1e130558ab
commit
68a69ed2a4
@@ -90,7 +90,6 @@
|
||||
enum periph_clock {
|
||||
SYSCFG_CLOCK_CFG,
|
||||
TIMER2_CLOCK_CFG,
|
||||
STMMAC_CLOCK_CFG,
|
||||
};
|
||||
|
||||
static const struct stm32_clk_info stm32f4_clk_info = {
|
||||
@@ -358,11 +357,6 @@ void clock_setup(int peripheral)
|
||||
case TIMER2_CLOCK_CFG:
|
||||
setbits_le32(&STM32_RCC->apb1enr, RCC_APB1ENR_TIM2EN);
|
||||
break;
|
||||
case STMMAC_CLOCK_CFG:
|
||||
setbits_le32(&STM32_RCC->ahb1enr, RCC_AHB1ENR_ETHMAC_EN);
|
||||
setbits_le32(&STM32_RCC->ahb1enr, RCC_AHB1ENR_ETHMAC_RX_EN);
|
||||
setbits_le32(&STM32_RCC->ahb1enr, RCC_AHB1ENR_ETHMAC_TX_EN);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user