Commit 145be6ba authored by Anton Protopopov's avatar Anton Protopopov

RT #109267. STM32F7-DISCO: configure clocks

It happens that we do not have to set HSEBYP bit.
parent cacba693
......@@ -330,12 +330,7 @@ static void clock_setup(void)
/*
* Enable HSE, and wait while it becomes ready
*/
#ifdef CONFIG_SYS_STM32F7_DISCO
STM32_RCC->cr &= ~STM32_RCC_CR_HSEON;
STM32_RCC->cr |= STM32_RCC_CR_HSEBYP;
#else
STM32_RCC->cr |= STM32_RCC_CR_HSEON;
#endif
for (i = 0; i < STM32_HSE_STARTUP_TIMEOUT; i++) {
if (STM32_RCC->cr & STM32_RCC_CR_HSERDY)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment