Re: [PATCH v2] fpga manager: Add hardware dependency to Zynq driver

From: atull
Date: Thu Sep 08 2016 - 14:15:14 EST


On Thu, 8 Sep 2016, Jean Delvare wrote:

Hi Greg,

Can you take in this patch?

Thanks,
Alan

> The Zynq FPGA manager driver serves no purpose on other architectures
> so hide it unless build-testing.
>
> Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
> Acked-by: Moritz Fischer <moritz.fischer@xxxxxxxxx>
> Acked-by: Alan Tull <atull@xxxxxxxxxxxxxxxxxxxxx>
> Acked-by: Michal Simek <michal.simek@xxxxxxxxxx>
> Cc: "SÃren Brinkmann" <soren.brinkmann@xxxxxxxxxx>
> ---
> Changes since v1:
> * Rebased on top of v4.8-rc5.
>
> I have already sent this patch on 2016-01-22 and 2016-07-07, it was
> approved by everybody involved each time, but apparently it got lost
> somewhere as I still can't find it upstream.
>
> drivers/fpga/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> --- linux-4.8-rc5.orig/drivers/fpga/Kconfig 2016-09-08 10:22:11.166730687 +0200
> +++ linux-4.8-rc5/drivers/fpga/Kconfig 2016-09-08 10:22:38.621067814 +0200
> @@ -21,6 +21,7 @@ config FPGA_MGR_SOCFPGA
>
> config FPGA_MGR_ZYNQ_FPGA
> tristate "Xilinx Zynq FPGA"
> + depends on ARCH_ZYNQ || COMPILE_TEST
> depends on HAS_DMA
> help
> FPGA manager driver support for Xilinx Zynq FPGAs.
>
>
> --
> Jean Delvare
> SUSE L3 Support
>