Skip to content

Commit

Permalink
fpga: Add COMPILE_TEST to all drivers
Browse files Browse the repository at this point in the history
Like Zynq the Altera drivers compile fine on x86 and others too,
so make it easier to compile test this stuff.

A10 requires REGMAP_MMIO to compile, so be explicit rather than
relying on it via ARCH_SOCFPGA.

Signed-off-by: Jason Gunthorpe <[email protected]>
Acked-by: Alan Tull <[email protected]>
  • Loading branch information
jgunthorpe authored and Alan Tull committed Nov 29, 2016
1 parent e663c5d commit a0e1b61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/fpga/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ config FPGA_REGION

config FPGA_MGR_SOCFPGA
tristate "Altera SOCFPGA FPGA Manager"
depends on ARCH_SOCFPGA
depends on ARCH_SOCFPGA || COMPILE_TEST
help
FPGA manager driver support for Altera SOCFPGA.

config FPGA_MGR_SOCFPGA_A10
tristate "Altera SoCFPGA Arria10"
depends on ARCH_SOCFPGA
depends on ARCH_SOCFPGA || COMPILE_TEST
select REGMAP_MMIO
help
FPGA manager driver support for Altera Arria10 SoCFPGA.

Expand Down

0 comments on commit a0e1b61

Please sign in to comment.