Skip to content

Commit ccf90fd

Browse files
ioannisggalak
authored andcommitted
soc: arm: select CPU_HAS_SYSTICK in ARCH Kconfig
ARM SysTick timer is implemented by default in ARMv7-M and Mainline ARMv8-M processors, so we include the corresponding Kconfig symbol in arch/arm/core/cortex-M/Kconfig and remove the selections from the Cortex-M SOCs. Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent ce0dcea commit ccf90fd

File tree

30 files changed

+1
-29
lines changed

30 files changed

+1
-29
lines changed

arch/arm/core/cortex_m/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ config ARMV7_M_ARMV8_M_MAINLINE
207207
select CPU_CORTEX_M_HAS_BASEPRI
208208
select CPU_CORTEX_M_HAS_VTOR
209209
select CPU_CORTEX_M_HAS_PROGRAMMABLE_FAULT_PRIOS
210+
select CPU_HAS_SYSTICK
210211
help
211212
This option signifies the use of an ARMv7-M processor
212213
implementation, or the use of a backwards-compatible

soc/arm/arm/beetle/Kconfig.series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ config SOC_SERIES_BEETLE
1111
depends on ARM
1212
select CPU_CORTEX_M3
1313
select SOC_FAMILY_ARM
14-
select CPU_HAS_SYSTICK
1514
select CPU_HAS_ARM_MPU
1615
help
1716
Enable support for Beetle MCU Series

soc/arm/arm/mps2/Kconfig.series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ config SOC_SERIES_MPS2
88
bool "ARM MPS2 MCU Series"
99
depends on ARM
1010
select SOC_FAMILY_ARM
11-
select CPU_HAS_SYSTICK
1211
select GPIO_MMIO32 if GPIO
1312
help
1413
Enable support for ARM MPS2 MCU Series

soc/arm/arm/musca_a/Kconfig.series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
config SOC_SERIES_MUSCA
88
bool "ARM v2m MUSCA MCU Series"
99
select SOC_FAMILY_ARM
10-
select CPU_HAS_SYSTICK
1110
select BUILD_OUTPUT_HEX
1211
help
1312
Enable support for ARM MPS2 MCU Series

soc/arm/arm/musca_b1/Kconfig.series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
config SOC_SERIES_MUSCA_B1
88
bool "arm v2m MUSCA B1 MCU Series"
99
select SOC_FAMILY_ARM
10-
select CPU_HAS_SYSTICK
1110
select BUILD_OUTPUT_HEX
1211
help
1312
Enable support for arm V2M Musca B1 MCU Series

soc/arm/atmel_sam/sam3x/Kconfig.series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ config SOC_SERIES_SAM3X
1010
bool "Atmel SAM3X MCU"
1111
select CPU_CORTEX_M3
1212
select SOC_FAMILY_SAM
13-
select CPU_HAS_SYSTICK
1413
select CPU_HAS_ARM_MPU
1514
select ASF
1615
help

soc/arm/atmel_sam/sam4s/Kconfig.series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ config SOC_SERIES_SAM4S
1010
bool "Atmel SAM4S MCU"
1111
select CPU_CORTEX_M4
1212
select SOC_FAMILY_SAM
13-
select CPU_HAS_SYSTICK
1413
select ASF
1514
help
1615
Enable support for Atmel SAM4S Cortex-M4 microcontrollers.

soc/arm/atmel_sam/same70/Kconfig.series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ config SOC_SERIES_SAME70
99
select CPU_CORTEX_M7
1010
select SOC_FAMILY_SAM
1111
select CPU_HAS_FPU_DOUBLE_PRECISION
12-
select CPU_HAS_SYSTICK
1312
select ASF
1413
select XIP
1514
select CPU_HAS_ARM_MPU

soc/arm/microchip_mec/mec1701/Kconfig.series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ config SOC_SERIES_MEC1701X
99
bool "Microchip MEC1701X Series"
1010
select CPU_CORTEX_M4
1111
select SOC_FAMILY_MEC
12-
select CPU_HAS_SYSTICK
1312
select CPU_HAS_FPU
1413
help
1514
Enable support for Microchip MEC Cortex-M4 MCU series

soc/arm/nxp_imx/mcimx6x_m4/Kconfig.series

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ config SOC_SERIES_IMX_6X_M4
1111
select HAS_IMX_HAL
1212
select SOC_FAMILY_IMX
1313
select CPU_HAS_FPU
14-
select CPU_HAS_SYSTICK
1514
select CLOCK_CONTROL
1615
help
1716
Enable support for M4 core of i.MX 6SoloX MCU series

0 commit comments

Comments
 (0)