drivers: can: sam: do not select cache management

Do not select CONFIG_CACHE_MANAGEMENT in the Microchip SAM CAN driver
Kconfig but rather leave it up to the SoC/platform Kconfig to enable it as
needed and enable CACHE_MANAGEMENT by default for the Atmel SAM E70/V71 SoC
series.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
Henrik Brix Andersen 2023-07-17 08:31:48 +02:00 committed by Fabio Baltieri
parent 6fd3cf6a5b
commit de656c1169
3 changed files with 6 additions and 1 deletions

View file

@ -7,4 +7,3 @@ config CAN_SAM
default y
depends on DT_HAS_ATMEL_SAM_CAN_ENABLED
select CAN_MCAN
select CACHE_MANAGEMENT

View file

@ -37,4 +37,7 @@ config NUM_IRQS
default 74 if SOC_ATMEL_SAME70_REVB
default 71
config CACHE_MANAGEMENT
default y
endif # SOC_SERIES_SAME70

View file

@ -38,4 +38,7 @@ config NUM_IRQS
default 74 if SOC_ATMEL_SAMV71_REVB
default 71
config CACHE_MANAGEMENT
default y
endif # SOC_SERIES_SAMV71