summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAngelo Dureghello <angelo@kernel-space.org>2021-07-02 12:48:40 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2021-07-25 12:36:29 +0300
commit8dad5561c13ade87238d9de6dd410b43f7562447 (patch)
tree815dbd1e53e74bdac58ca9683207153f32d38cf9 /drivers
parentd9cead75b1c66b4660b4f87ff339234042d7c6a5 (diff)
downloadlinux-8dad5561c13ade87238d9de6dd410b43f7562447.tar.xz
can: flexcan: update Kconfig to enable coldfire
Update flexcan to support coldfire architecture. Any new platform should use OF, but coldfire architecture is actually not supporting devicetrees. Link: https://lore.kernel.org/r/20210702094841.327679-4-angelo@kernel-space.org Signed-off-by: Angelo Dureghello <angelo@kernel-space.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/can/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig
index e355d3974977..fff259247d52 100644
--- a/drivers/net/can/Kconfig
+++ b/drivers/net/can/Kconfig
@@ -97,7 +97,8 @@ config CAN_AT91
config CAN_FLEXCAN
tristate "Support for Freescale FLEXCAN based chips"
- depends on OF && HAS_IOMEM
+ depends on OF || COLDFIRE || COMPILE_TEST
+ depends on HAS_IOMEM
help
Say Y here if you want to support for Freescale FlexCAN.