Signed-off-by: Stefan Tauner stefan.tauner@student.tuwien.ac.at --- cli_classic.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/cli_classic.c b/cli_classic.c index d1b4686..78d32b2 100644 --- a/cli_classic.c +++ b/cli_classic.c @@ -397,6 +397,14 @@ int cli_classic(int argc, char *argv[]) // FIXME: flash writes stay enabled! programmer_shutdown(); exit(1); + } else if (!chip_to_probe) { + /* repeat for convenience when looking at foreign logs */ + tempstr = flashbuses_to_text(flashes[0].bustype); + msg_gdbg("%s chip "%s %s" (%d kB, %s).\n", + force ? "Assuming" : "Found", + flashes[0].vendor, flashes[0].name, + flashes[0].total_size, tempstr); + free(tempstr); }
fill_flash = &flashes[0];