Update CAN drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
10 lines
223 B
Plaintext
10 lines
223 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
|