From 3ae5e5e4a5f055d12f6079616cb1ec1d67bf30f1 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Thu, 26 Feb 2026 08:24:05 +0100 Subject: [PATCH] xilinx: fixed spi/bpi select --- src/xilinx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xilinx.cpp b/src/xilinx.cpp index 35e8d38..549fe00 100644 --- a/src/xilinx.cpp +++ b/src/xilinx.cpp @@ -283,7 +283,7 @@ Xilinx::Xilinx(Jtag *jtag, const std::string &filename, skip_reset), _device_package(device_package), _spiOverJtagPath(spiOverJtagPath), _irlen(6), _secondary_filename(secondary_filename), _soj_is_v2(false), - _jtag_chain_len(1), _is_bpi_board(~spi_flash_type) + _jtag_chain_len(1), _is_bpi_board(!spi_flash_type) { if (prg_type == Device::RD_FLASH) { _mode = Device::READ_MODE;