Commit 26fd9a69 authored by Luca Burelli's avatar Luca Burelli Committed by Benjamin Cabé
Browse files

soc/ambiq/apollo5x: fix ARMV8_1_M_PMU_EVENTCNT being globally set



Other targets that define this symbol do it in the Kconfig file, and
gate it with a SOC_ model or series symbol. Defining a default in the
Kconfig.soc instead applies it on every build, which is not desired.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent 50d73084
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -43,3 +43,7 @@ config SOC_AMBIQ_DMA_BUFF_ALIGNMENT
	default 1
	help
	  This option specifies the DMA buffers' alignment

config ARMV8_1_M_PMU_EVENTCNT
	int
	default 8 if SOC_APOLLO510
+0 −4
Original line number Diff line number Diff line
@@ -12,10 +12,6 @@ config SOC_APOLLO510
	bool
	select SOC_SERIES_APOLLO5X

config ARMV8_1_M_PMU_EVENTCNT
	int
	default 8

config SOC_SERIES
	default "apollo5x" if SOC_SERIES_APOLLO5X