clock_control: stm32f4x: introduce driver for STM32F4x RCC

Based on the STM32F10x driver. Removing old code as we need to use the
bus number when dealing with 4 possible peripherals.

Change-Id: Id0263aa008e9b039ff9a00339e5622e289ffdf99
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Ricardo Salveti 2016-10-26 23:56:23 +05:30 committed by Kumar Gala
commit 3580a6bcec
9 changed files with 919 additions and 0 deletions

View file

@ -23,6 +23,8 @@
#ifdef CONFIG_SOC_SERIES_STM32F1X
#include "stm32f1_clock_control.h"
#elif CONFIG_SOC_SERIES_STM32F4X
#include "stm32f4_clock_control.h"
#endif
#endif /* _STM32_CLOCK_CONTROL_H_ */