soc: arm: st_stm32: add include of devictree.h in soc.h

Replace include of kernel_includes.h by devictree.h
Required when MPU is activated

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
Alexandre Bourdiol 2020-06-10 17:31:09 +02:00 committed by Kumar Gala
commit b8a4b9a1a0
7 changed files with 14 additions and 35 deletions

View file

@ -22,11 +22,8 @@
#include <stm32f0xx.h>
/* ARM CMSIS definitions must be included before kernel_includes.h.
* Therefore, it is essential to include kernel_includes.h after including
* core SOC-specific headers.
*/
#include <kernel_includes.h>
/* Add include for DTS generated information */
#include <devicetree.h>
#ifdef CONFIG_EXTI_STM32
#include <stm32f0xx_ll_exti.h>

View file

@ -22,11 +22,8 @@
#include <stm32f1xx.h>
/* ARM CMSIS definitions must be included before kernel_includes.h.
* Therefore, it is essential to include kernel_includes.h after including
* core SOC-specific headers.
*/
#include <kernel_includes.h>
/* Add include for DTS generated information */
#include <devicetree.h>
#ifdef CONFIG_EXTI_STM32
#include <stm32f1xx_ll_exti.h>

View file

@ -21,11 +21,8 @@
#include <stm32f2xx.h>
/* ARM CMSIS definitions must be included before kernel_includes.h.
* Therefore, it is essential to include kernel_includes.h after including
* core SOC-specific headers.
*/
#include <kernel_includes.h>
/* Add include for DTS generated information */
#include <devicetree.h>
#ifdef CONFIG_EXTI_STM32
#include <stm32f2xx_ll_exti.h>

View file

@ -23,11 +23,8 @@
#include <stm32f3xx.h>
/* ARM CMSIS definitions must be included before kernel_includes.h.
* Therefore, it is essential to include kernel_includes.h after including
* core SOC-specific headers.
*/
#include <kernel_includes.h>
/* Add include for DTS generated information */
#include <devicetree.h>
#ifdef CONFIG_EXTI_STM32
#include <stm32f3xx_ll_exti.h>

View file

@ -21,11 +21,8 @@
#include <stm32l0xx.h>
/* ARM CMSIS definitions must be included before kernel_includes.h.
* Therefore, it is essential to include kernel_includes.h after including
* core SOC-specific headers.
*/
#include <kernel_includes.h>
/* Add include for DTS generated information */
#include <devicetree.h>
#include <stm32l0xx_ll_system.h>

View file

@ -21,11 +21,8 @@
#include <stm32l1xx.h>
/* ARM CMSIS definitions must be included before kernel_includes.h.
* Therefore, it is essential to include kernel_includes.h after including
* core SOC-specific headers.
*/
#include <kernel_includes.h>
/* Add include for DTS generated information */
#include <devicetree.h>
#include <stm32l1xx_ll_system.h>

View file

@ -21,11 +21,8 @@
#include <autoconf.h>
#include <stm32mp1xx.h>
/* ARM CMSIS definitions must be included before kernel_includes.h.
* Therefore, it is essential to include kernel_includes.h after including
* core SOC-specific headers.
*/
#include <kernel_includes.h>
/* Add include for DTS generated information */
#include <devicetree.h>
#ifdef CONFIG_EXTI_STM32
#include <stm32mp1xx_ll_exti.h>