Skip to content

Commit f9cd6d0

Browse files
committed
soc: st: stm32f7: enable PWR clock during early init
1 parent fc82a90 commit f9cd6d0

File tree

1 file changed

+0
-2
lines changed
  • soc/st/stm32/stm32f7x

1 file changed

+0
-2
lines changed

soc/st/stm32/stm32f7x/soc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ void soc_early_init_hook(void)
3838
/* At reset, system core clock is set to 16 MHz from HSI */
3939
SystemCoreClock = 16000000;
4040

41-
#if defined(CONFIG_PM)
4241
/* Ensure PWR peripheral clock is enabled on APB1 */
4342
LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR);
44-
#endif
4543
}

0 commit comments

Comments
 (0)