Skip to content

Commit

Permalink
board, efinix: added SPI variant for efinix t20 BGA256 board
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Feb 24, 2025
1 parent c6e5ec9 commit 2ff215d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/board.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ static std::map <std::string, target_board_t> board_list = {
SPI_BOARD("titanium_ti60_f225","efinix", "efinix_spi_ft4232",
DBUS4, DBUS5, DBUS7, DBUS3, DBUS0, DBUS1, DBUS2, DBUS6, 0, CABLE_DEFAULT),
JTAG_BOARD("titanium_ti60_f225_jtag", "ti60f225","efinix_jtag_ft4232", 0, 0, CABLE_DEFAULT),
SPI_BOARD("trion_t20_bga256", "efinix", "efinix_spi_ft2232",
DBUS4, DBUS5, 0, DBUS3, DBUS0, DBUS1, DBUS2, DBUS6, 0, CABLE_DEFAULT),
JTAG_BOARD("trion_t20_bga256_jtag", "t20f256", "efinix_jtag_ft2232", 0, 0, CABLE_DEFAULT),
SPI_BOARD("trion_t120_bga576","efinix", "efinix_spi_ft2232",
DBUS4, DBUS5, DBUS7, DBUS3, DBUS0, DBUS1, DBUS2, DBUS6, 0, CABLE_DEFAULT),
Expand Down
2 changes: 2 additions & 0 deletions src/efinix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ Efinix::Efinix(Jtag* jtag, const std::string &filename,
std::string spi_board_name = "";
if (board_name == "xyloni_jtag") {
spi_board_name = "xyloni_spi";
} else if (board_name == "trion_t20_bga256_jtag") {
spi_board_name = "trion_t20_bga256";
} else if (board_name == "trion_t120_bga576_jtag") {
spi_board_name = "trion_t120_bga576";
} else if (board_name == "titanium_ti60_f225_jtag") {
Expand Down

0 comments on commit 2ff215d

Please sign in to comment.