Re: [PATCH net 3/4] fsl/fman: detect FMan erratum A050385

From: David Miller
Date: Tue Mar 03 2020 - 18:52:33 EST


From: Madalin Bucur <madalin.bucur@xxxxxxxxxxx>
Date: Tue, 3 Mar 2020 17:55:38 +0200

> @@ -37,6 +38,11 @@
> #include <linux/interrupt.h>
> #include <linux/of_irq.h>
>
> +#ifdef CONFIG_ARM64
> +/* only some ARM64 platforms are affected */
> +#define DPAA_FMAN_ERRATUM_A050385 1
> +#endif

Please use Kconfig for expressing this.

Create a CONFIG_DPAA_ERRATUM_A050385 and 'select' it in the
driver Kconfig entry when ARM64 is true.

Thank you.