Re: [PATCH v5 5/6] can: ctucanfd: CTU CAN FD open-source IP core - platform/SoC support.

From: Randy Dunlap
Date: Sat Aug 15 2020 - 19:28:25 EST


On 8/15/20 12:43 PM, Pavel Pisa wrote:
> diff --git a/drivers/net/can/ctucanfd/Kconfig b/drivers/net/can/ctucanfd/Kconfig
> index e1636373628a..a8c9cc38f216 100644
> --- a/drivers/net/can/ctucanfd/Kconfig
> +++ b/drivers/net/can/ctucanfd/Kconfig
> @@ -21,4 +21,15 @@ config CAN_CTUCANFD_PCI
> PCIe board with PiKRON.com designed transceiver riser shield is available
> at https://gitlab.fel.cvut.cz/canbus/pcie-ctu_can_fd .
>
> +config CAN_CTUCANFD_PLATFORM
> + tristate "CTU CAN-FD IP core platform (FPGA, SoC) driver"
> + depends on OF

Can this be
depends on OF || COMPILE_TEST
?

> + help
> + The core has been tested together with OpenCores SJA1000
> + modified to be CAN FD frames tolerant on MicroZed Zynq based
> + MZ_APO education kits designed by Petr Porazil from PiKRON.com
> + company. FPGA design https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top.
> + The kit description at the Computer Architectures course pages
> + https://cw.fel.cvut.cz/b182/courses/b35apo/documentation/mz_apo/start .
> +
> endif


--
~Randy