Skip to content

Commit 3ae5e5e

Browse files
committed
xilinx: fixed spi/bpi select
1 parent 3508904 commit 3ae5e5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xilinx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ Xilinx::Xilinx(Jtag *jtag, const std::string &filename,
283283
skip_reset),
284284
_device_package(device_package), _spiOverJtagPath(spiOverJtagPath),
285285
_irlen(6), _secondary_filename(secondary_filename), _soj_is_v2(false),
286-
_jtag_chain_len(1), _is_bpi_board(~spi_flash_type)
286+
_jtag_chain_len(1), _is_bpi_board(!spi_flash_type)
287287
{
288288
if (prg_type == Device::RD_FLASH) {
289289
_mode = Device::READ_MODE;

0 commit comments

Comments
 (0)