[PATCH v2 05/29] memory: jz4780-nemc: Do not enable by default on every compile test

Arnd Bergmann arnd at arndb.de
Fri Jul 24 09:45:37 EDT 2020


On Fri, Jul 24, 2020 at 9:41 AM Krzysztof Kozlowski <krzk at kernel.org> wrote:
>
> When compile testing, enable the driver by default only on MIPS
> architecture.
>
> Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
>
> ---
>
> Changes since v1:
> 1. New patch
 @@ -141,7 +141,7 @@ config FSL_IFC
>
>  config JZ4780_NEMC
>         bool "Ingenic JZ4780 SoC NEMC driver"
> -       default y
> +       default y if MIPS
>         depends on MIPS || COMPILE_TEST


Actually I think this should be 'default MACH_INGENIC',
and probably also 'depends on MACH_INGENIC || COMPILE_TEST'.

     Arnd



More information about the Linux-mediatek mailing list