1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-09-07 05:50:44 +02:00

cli_common: Dont request reports from known-bad chip operations

Change-Id: Ic4dc0d85534f2fcfe4dcb9733d4994c8853b48a7
Signed-off-by: Urja Rannikko <urjaman@gmail.com>
This commit is contained in:
Urja Rannikko
2017-05-07 16:55:41 +03:00
parent 9e14aeda64
commit 304b351254

View File

@@ -70,10 +70,12 @@ void print_chip_support_status(const struct flashchip *chip)
msg_cdbg("This chip's main memory can not be erased/written by design.\n");
}
if ((chip->tested.probe == BAD) || (chip->tested.probe == NT) ||
(chip->tested.read == BAD) || (chip->tested.read == NT) ||
(chip->tested.erase == BAD) || (chip->tested.erase == NT) ||
(chip->tested.write == BAD) || (chip->tested.write == NT)){
int untested = 0;
msg_cinfo("===\n");
if ((chip->tested.probe == BAD) ||
(chip->tested.read == BAD) ||
@@ -104,7 +106,9 @@ void print_chip_support_status(const struct flashchip *chip)
if (chip->tested.write == NT)
msg_cinfo(" WRITE");
msg_cinfo("\n");
untested = 1;
}
if (untested) {
msg_cinfo("The test status of this chip may have been updated in the latest development\n"
"version of flashrom. If you are running the latest development version,\n"
"please email a report to flashrom@flashrom.org if any of the above operations\n"
@@ -112,6 +116,10 @@ void print_chip_support_status(const struct flashchip *chip)
"file for all operations you tested (see the man page for details), and mention\n"
"which mainboard or programmer you tested in the subject line.\n"
"Thanks for your help!\n");
} else {
msg_cinfo("The test status of this chip may have been updated in the latest development\n"
"version of flashrom.\n");
}
}
}