can: remove Kconfig.defconfig setting of CAN drivers
Now that CAN drivers are enabled based on devicetree we need to remove any cases of them getting enabled by Kconfig.defconfig* files as this can lead to errors. Typically the Kconfig.defconfig* will blindly enable a sensor and not respect the devicetree state of the CAN. Additionally we can get problems with prj.conf/defconfig getting incorrectly overridden. Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
parent
a24b275883
commit
27f28f2822
|
@ -11,9 +11,6 @@ config GPIO
|
|||
config SPI
|
||||
default y
|
||||
|
||||
config CAN_MCP2515
|
||||
default y
|
||||
|
||||
config CAN_INIT_PRIORITY
|
||||
default 80
|
||||
|
||||
|
|
|
@ -12,10 +12,6 @@ config ROM_START_OFFSET
|
|||
default 0x400 if BOOTLOADER_MCUBOOT
|
||||
default 0x2000 if BOOT_FLEXSPI_NOR || BOOT_SEMC_NOR
|
||||
|
||||
config CAN_MCUX_FLEXCAN
|
||||
default y if HAS_MCUX_FLEXCAN
|
||||
depends on CAN
|
||||
|
||||
config DISPLAY_MCUX_ELCDIF
|
||||
default y if HAS_MCUX_ELCDIF
|
||||
depends on DISPLAY
|
||||
|
|
|
@ -12,10 +12,6 @@ config NUM_IRQS
|
|||
# must be >= the highest interrupt number used
|
||||
default 86
|
||||
|
||||
config CAN_MCUX_FLEXCAN
|
||||
default y
|
||||
depends on CAN
|
||||
|
||||
config GPIO
|
||||
default y
|
||||
|
||||
|
|
|
@ -12,10 +12,6 @@ config NUM_IRQS
|
|||
# must be >= the highest interrupt number used
|
||||
default 100
|
||||
|
||||
config CAN_MCUX_FLEXCAN
|
||||
default y
|
||||
depends on CAN
|
||||
|
||||
config GPIO
|
||||
default y
|
||||
|
||||
|
|
|
@ -8,8 +8,4 @@ if SOC_MKE16F16
|
|||
config SOC
|
||||
default "mke16f16"
|
||||
|
||||
config CAN_MCUX_FLEXCAN
|
||||
default y
|
||||
depends on CAN
|
||||
|
||||
endif # SOC_MKE16F16
|
||||
|
|
|
@ -8,8 +8,4 @@ if SOC_MKE18F16
|
|||
config SOC
|
||||
default "mke18f16"
|
||||
|
||||
config CAN_MCUX_FLEXCAN
|
||||
default y
|
||||
depends on CAN
|
||||
|
||||
endif # SOC_MKE18F16
|
||||
|
|
Loading…
Reference in a new issue