can: flexcan: update Kconfig to enable coldfire
authorAngelo Dureghello <angelo@kernel-space.org>
Fri, 2 Jul 2021 09:48:40 +0000 (11:48 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 25 Jul 2021 09:36:29 +0000 (11:36 +0200)
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>
drivers/net/can/Kconfig

index e355d39..fff2592 100644 (file)
@@ -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.