drivers: can: stm32h7: fdcan: fold Kconfig file into stm32 Kconfig file
Fold the Kconfig options for the STM32H7 FDCAN driver into the main Kconfig.stm32 file. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
d45cbc8d2e
commit
8b16dbe308
3 changed files with 8 additions and 12 deletions
|
@ -88,7 +88,6 @@ config CAN_QEMU_IFACE_NAME
|
|||
source "drivers/can/Kconfig.sam"
|
||||
source "drivers/can/Kconfig.sam0"
|
||||
source "drivers/can/Kconfig.stm32"
|
||||
source "drivers/can/Kconfig.stm32h7"
|
||||
source "drivers/can/Kconfig.mcux"
|
||||
source "drivers/can/Kconfig.mcp2515"
|
||||
source "drivers/can/Kconfig.mcan"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# STM32 CAN configuration options
|
||||
|
||||
# Copyright (c) 2022 Blue Clover
|
||||
# Copyright (c) 2018-2020 Alexander Wachter
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
|
@ -72,3 +73,10 @@ config CAN_MAX_EXT_ID_FILTER
|
|||
that can be added by the application.
|
||||
|
||||
endif # CAN_STM32_FDCAN
|
||||
|
||||
config CAN_STM32H7
|
||||
bool "STM32H7 FDCAN driver"
|
||||
default y
|
||||
depends on DT_HAS_ST_STM32H7_FDCAN_ENABLED
|
||||
select CAN_MCAN
|
||||
select USE_STM32_LL_RCC
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
# STM32H7 FD-CAN configuration options
|
||||
|
||||
# Copyright (c) 2022 Blue Clover
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config CAN_STM32H7
|
||||
bool "STM32H7 FDCAN driver"
|
||||
default y
|
||||
depends on DT_HAS_ST_STM32H7_FDCAN_ENABLED
|
||||
select CAN_MCAN
|
||||
select USE_STM32_LL_RCC
|
Loading…
Add table
Add a link
Reference in a new issue