drivers: dma: stm32: use generic LL headers
Use generic LL headers instead of depending on soc.h. Signed-off-by: Martin Jäger <martin@libre.solar>
This commit is contained in:
parent
3ef8451e82
commit
00ac525603
|
@ -8,6 +8,7 @@
|
|||
#define DMA_STM32_H_
|
||||
|
||||
#include <soc.h>
|
||||
#include <stm32_ll_dma.h>
|
||||
#include <drivers/dma.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
*/
|
||||
|
||||
#include <soc.h>
|
||||
#include <stm32_ll_dmamux.h>
|
||||
#include <init.h>
|
||||
#include <drivers/dma.h>
|
||||
#include <drivers/clock_control.h>
|
||||
|
|
|
@ -35,10 +35,6 @@
|
|||
#include <stm32f0xx_ll_system.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32f0xx_ll_dma.h>
|
||||
#endif
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32F0_SOC_H_ */
|
||||
|
|
|
@ -35,11 +35,6 @@
|
|||
#include <stm32f1xx_ll_system.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32f1xx_ll_dma.h>
|
||||
#endif
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32F1_SOC_H_ */
|
||||
|
|
|
@ -34,10 +34,6 @@
|
|||
#include <stm32f2xx_ll_system.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32f2xx_ll_dma.h>
|
||||
#endif
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32F2_SOC_H_ */
|
||||
|
|
|
@ -36,10 +36,6 @@
|
|||
#include <stm32f3xx_ll_system.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32f3xx_ll_dma.h>
|
||||
#endif
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32F3_SOC_H_ */
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
#include <stm32f4xx_ll_system.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32f4xx_ll_dma.h>
|
||||
#endif
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32F4_SOC_H_ */
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
#include <stm32f7xx_ll_pwr.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32f7xx_ll_dma.h>
|
||||
#endif
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32F7_SOC_H_ */
|
||||
|
|
|
@ -35,10 +35,6 @@
|
|||
#include <stm32l0xx_ll_rcc.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32l0xx_ll_dma.h>
|
||||
#endif
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32L0_SOC_H_ */
|
||||
|
|
|
@ -46,10 +46,6 @@
|
|||
#include <stm32l4xx_ll_pwr.h>
|
||||
#endif /* CONFIG_USB */
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32l4xx_ll_dma.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32_LPTIM_TIMER
|
||||
#include <stm32l4xx_ll_lptim.h>
|
||||
#include <stm32l4xx_ll_system.h>
|
||||
|
|
|
@ -38,14 +38,6 @@
|
|||
#include <stm32wbxx_ll_system.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DMA_STM32
|
||||
#include <stm32wbxx_ll_dma.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DMAMUX_STM32
|
||||
#include <stm32wbxx_ll_dmamux.h>
|
||||
#endif
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32WBX_SOC_H_ */
|
||||
|
|
Loading…
Reference in a new issue