drivers: stm32: clean up after stm23cube based clock control
After activation of cube based driver support on L4 and F3 series, this commits performs the clean up of F3 and L4 relative code to native clock control drivers. Indirectly, it makes pwm driver supported de facto on F3 series Change-Id: Idac17103a9b5ef6eab540719343cc8f5865f15fa Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
3c389b54f0
commit
726d4dc437
10 changed files with 8 additions and 116 deletions
|
@ -19,9 +19,7 @@ struct uart_stm32_config {
|
|||
#if defined(CONFIG_CLOCK_CONTROL_STM32_CUBE)
|
||||
struct stm32_pclken pclken;
|
||||
#else
|
||||
#if defined(CONFIG_SOC_SERIES_STM32F1X) || \
|
||||
defined(CONFIG_SOC_SERIES_STM32F3X) || \
|
||||
defined(CONFIG_SOC_SERIES_STM32L4X)
|
||||
#if defined(CONFIG_SOC_SERIES_STM32F1X)
|
||||
clock_control_subsys_t clock_subsys;
|
||||
#elif defined(CONFIG_SOC_SERIES_STM32F4X)
|
||||
struct stm32f4x_pclken pclken;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue