stm32f4: Clean references to stm32f4 specific clock control
Following activation of stm32 common clock driver for stm32f4 series remove references to stm32f4 specific driver. Change-Id: I372a0ea046007bcb34944d6b2b8880077583b1d3 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
80b7bec12c
commit
242ed389a3
22 changed files with 13 additions and 1076 deletions
|
@ -234,17 +234,10 @@ int stm32_gpio_enable_int(int port, int pin)
|
|||
(struct stm32f4x_syscfg *)SYSCFG_BASE;
|
||||
volatile union syscfg_exticr *exticr;
|
||||
struct device *clk = device_get_binding(STM32_CLOCK_CONTROL_NAME);
|
||||
#ifdef CONFIG_CLOCK_CONTROL_STM32_CUBE
|
||||
struct stm32_pclken pclken = {
|
||||
.bus = STM32_CLOCK_BUS_APB2,
|
||||
.enr = LL_APB2_GRP1_PERIPH_SYSCFG
|
||||
};
|
||||
#else
|
||||
struct stm32f4x_pclken pclken = {
|
||||
.bus = STM32F4X_CLOCK_BUS_APB2,
|
||||
.enr = STM32F4X_CLOCK_ENABLE_SYSCFG
|
||||
};
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
int shift = 0;
|
||||
|
||||
/* Enable SYSCFG clock */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue