kcu105: add secondary qspi detection and dump
This commit is contained in:
parent
1bb69dcf22
commit
1c78344ca5
|
|
@ -1043,7 +1043,8 @@ int parse_opt(int argc, char **argv, struct arguments *args,
|
|||
args->secondary_bit_file.empty() &&
|
||||
!args->protect_flash &&
|
||||
!args->unprotect_flash &&
|
||||
!args->bulk_erase_flash
|
||||
!args->bulk_erase_flash &&
|
||||
!args->detect
|
||||
) {
|
||||
printError("Error: secondary bitfile not specified");
|
||||
cout << options.help() << endl;
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@ Xilinx::Xilinx(Jtag *jtag, const std::string &filename,
|
|||
_secondary_file_extension = secondary_filename.substr(
|
||||
secondary_filename.find_last_of(".") + 1);
|
||||
_mode = Device::SPI_MODE;
|
||||
if (!(_device_package == "xcvu9p-flga2104" || _device_package == "xcku5p-ffvb676")) {
|
||||
if (!(_device_package == "xcvu9p-flga2104" || _device_package == "xcku5p-ffvb676" || _device_package == "xcku040-ffva1156")) {
|
||||
throw std::runtime_error("Error: secondary flash unavailable");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue