aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/clk_stm32f7.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/clk_stm32f7.c')
-rw-r--r--drivers/clk/clk_stm32f7.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/clk/clk_stm32f7.c b/drivers/clk/clk_stm32f7.c
index 4c5388adabd..0d86395d476 100644
--- a/drivers/clk/clk_stm32f7.c
+++ b/drivers/clk/clk_stm32f7.c
@@ -228,9 +228,6 @@ static int stm32_clk_enable(struct clk *clk)
void clock_setup(int peripheral)
{
switch (peripheral) {
- case USART1_CLOCK_CFG:
- setbits_le32(&STM32_RCC->apb2enr, RCC_APB2ENR_USART1EN);
- break;
case GPIO_A_CLOCK_CFG:
setbits_le32(&STM32_RCC->ahb1enr, RCC_AHB1ENR_GPIO_A_EN);
break;