soc: stm32l4x: clean up after Cube LL clock control
Following activation of Cube LL based clock control driver, this commits cleans up the useless structures for RCC definitions and remove code relative to native L4 Clock control driver. Change-Id: Ic0408d5f5ec66651d46d13dfaf447da2666367cd Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
56b526c3a3
commit
dd481e2dc3
5 changed files with 0 additions and 206 deletions
|
@ -43,12 +43,8 @@ static int stm32l4_init(struct device *arg)
|
|||
irq_unlock(key);
|
||||
|
||||
/* Update CMSIS SystemCoreClock variable (HCLK) */
|
||||
#ifdef CONFIG_CLOCK_CONTROL_STM32_CUBE
|
||||
/* At reset, System core clock is set to 4MHz */
|
||||
SystemCoreClock = 4000000;
|
||||
#else
|
||||
SystemCoreClock = CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC;
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue