zephyr/drivers/can/Kconfig.sam
Perry Hung 9b5bc03f86 drivers: can: sam: select CACHE_MANAGEMENT for SAM M_CAN
A regression was introduced in ef804d8408
when the M_CAN driver was swapped to use the generic dcache API, but
cache management was not enabled on SAM devices.

Enable cache management on SAM devices when CAN_SAM is selected.

Signed-off-by: Perry Hung <perry@genrad.com>
2022-11-08 15:41:10 -05:00

11 lines
248 B
Plaintext

# SAM CAN configuration options
# Copyright (c) 2021 Alexander Wachter
# SPDX-License-Identifier: Apache-2.0
config CAN_SAM
bool "Atmel SAM CAN driver"
default y
depends on DT_HAS_ATMEL_SAM_CAN_ENABLED
select CAN_MCAN
select CACHE_MANAGEMENT