From: Angelo Dureghello Date: Fri, 2 Jul 2021 09:48:40 +0000 (+0200) Subject: can: flexcan: update Kconfig to enable coldfire X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8dad5561c13ade87238d9de6dd410b43f7562447;p=linux.git 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 Signed-off-by: Marc Kleine-Budde --- diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig index e355d3974977d..fff259247d524 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.