X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fclk%2Fclk_stm32f.c;h=2187be8cc8d9353e48549123012486025c61dc95;hb=68a69ed2a41551063f012e1ef5f18f2eb4d07f34;hp=ebe1ce60c1969e1804f5165cd49d09f0f2ac977e;hpb=1e130558ab65a3d7dc9d644e7a97dee4b543e698;p=u-boot diff --git a/drivers/clk/clk_stm32f.c b/drivers/clk/clk_stm32f.c index ebe1ce60c1..2187be8cc8 100644 --- a/drivers/clk/clk_stm32f.c +++ b/drivers/clk/clk_stm32f.c @@ -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; }