Allow probing all SPI command sets
The old guard is not necessary anymore as we handle probing
procedures by priority now.
Change-Id: I96707949934875ca23af9ff8a9c349b699a2d868
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/428
diff --git a/flashprog.c b/flashprog.c
index 2726298..b2a656d 100644
--- a/flashprog.c
+++ b/flashprog.c
@@ -736,9 +736,6 @@
buses_common = mst->buses_supported & chip->bustype;
if (!buses_common)
continue;
- /* Only probe for SPI25 chips by default. */
- if (chip->bustype == BUS_SPI && !chip_to_probe && chip->spi_cmd_set != SPI25)
- continue;
msg_gdbg("Probing for %s %s, %d kB: ", chip->vendor, chip->name, chip->total_size);
if (!chip->probe && !force) {
msg_gdbg("failed! flashprog has no probe function for this flash chip.\n");