forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fpga: lattice: reorganize to subdir layout
Create a lattice/ subdir Move ice40* and machxo2* files to it. Add a Kconfig and Makefile Signed-off-by: Tom Rix <trix@redhat.com>
- Loading branch information
1 parent
193f880
commit e5f1603deb6348c4e1e0f5efe8dc8cde603279ea
Showing
6 changed files
with
32 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| config FPGA_LATTICE | ||
| bool "Lattice Devices" | ||
| default y | ||
| help | ||
| If you have a lattice fpga, say Y. | ||
|
|
||
| if FPGA_LATTICE | ||
|
|
||
| config FPGA_MGR_ICE40_SPI | ||
| tristate "Lattice iCE40 SPI" | ||
| depends on OF && SPI | ||
| help | ||
| FPGA manager driver support for Lattice iCE40 FPGAs over SPI. | ||
|
|
||
| config FPGA_MGR_MACHXO2_SPI | ||
| tristate "Lattice MachXO2 SPI" | ||
| depends on SPI | ||
| help | ||
| FPGA manager driver support for Lattice MachXO2 configuration | ||
| over slave SPI interface. | ||
|
|
||
| endif #FPGA_LATTICE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # SPDX-License-Identifier: GPL-2.0-only | ||
|
|
||
| obj-$(CONFIG_FPGA_MGR_ICE40_SPI) += ice40-spi.o | ||
| obj-$(CONFIG_FPGA_MGR_MACHXO2_SPI) += machxo2-spi.o |
File renamed without changes.
File renamed without changes.