Browse Source

cmsis: remove unnecessary includes

Some files included <cmsis_core.h> for nothing, delete it.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
pull/61856/head
Gerard Marull-Paretas 2 years ago committed by Carles Cufí
parent
commit
94a4d38ed9
  1. 1
      drivers/cache/cache_aspeed.c
  2. 1
      drivers/gpio/gpio_mchp_xec_v2.c
  3. 1
      include/zephyr/arch/arm/aarch32/cortex_a_r/sys_io.h
  4. 1
      modules/trusted-firmware-m/interface/interface.c
  5. 2
      soc/arm/atmel_sam/sam3x/soc.c
  6. 2
      soc/arm/atmel_sam/sam4e/soc.c
  7. 2
      soc/arm/atmel_sam/sam4s/soc.c
  8. 1
      soc/arm/cypress/psoc6/soc.c

1
drivers/cache/cache_aspeed.c vendored

@ -5,7 +5,6 @@ @@ -5,7 +5,6 @@
*/
#include <zephyr/kernel.h>
#include <cmsis_core.h>
#include <zephyr/drivers/syscon.h>
#include <zephyr/sys/barrier.h>

1
drivers/gpio/gpio_mchp_xec_v2.c

@ -13,7 +13,6 @@ @@ -13,7 +13,6 @@
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/pinctrl/mchp-xec-pinctrl.h>
#include <soc.h>
#include <cmsis_core.h>
#include <zephyr/irq.h>
#include <zephyr/drivers/gpio/gpio_utils.h>

1
include/zephyr/arch/arm/aarch32/cortex_a_r/sys_io.h

@ -16,7 +16,6 @@ @@ -16,7 +16,6 @@
#include <zephyr/types.h>
#include <zephyr/sys/sys_io.h>
#include <cmsis_core.h>
#include <zephyr/sys/barrier.h>
#ifdef __cplusplus

1
modules/trusted-firmware-m/interface/interface.c

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/kernel.h>
#include <cmsis_core.h>
#include <zephyr/arch/arm/aarch32/cortex_m/fpu.h>
#include <tfm_ns_interface.h>

2
soc/arm/atmel_sam/sam3x/soc.c

@ -19,8 +19,6 @@ @@ -19,8 +19,6 @@
#include <zephyr/init.h>
#include <soc.h>
#include <cmsis_core.h>
/*
* PLL clock = Main * (MULA + 1) / DIVA
*

2
soc/arm/atmel_sam/sam4e/soc.c

@ -19,8 +19,6 @@ @@ -19,8 +19,6 @@
#include <zephyr/init.h>
#include <soc.h>
#include <cmsis_core.h>
/**
* @brief Setup various clock on SoC at boot time.
*

2
soc/arm/atmel_sam/sam4s/soc.c

@ -19,8 +19,6 @@ @@ -19,8 +19,6 @@
#include <zephyr/init.h>
#include <soc.h>
#include <cmsis_core.h>
/**
* @brief Setup various clock on SoC at boot time.
*

1
soc/arm/cypress/psoc6/soc.c

@ -7,7 +7,6 @@ @@ -7,7 +7,6 @@
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/arch/cpu.h>
#include <cmsis_core.h>
#include <zephyr/irq.h>
#include "cy_syslib.h"

Loading…
Cancel
Save