diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-07-21 19:59:34 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-07-21 19:59:34 +0000 |
commit | ec8c248414d1fe9e163a6003aebb57f003a9123d (patch) | |
tree | 1c7c28b3882323580174a3244dbdd7a1e08fddbe /chipset_enable.c | |
parent | ac54fbe908f9ad7e5387ac7d9e89e9cb7f323b77 (diff) | |
download | flashrom-ec8c248414d1fe9e163a6003aebb57f003a9123d.tar.gz flashrom-ec8c248414d1fe9e163a6003aebb57f003a9123d.tar.bz2 flashrom-ec8c248414d1fe9e163a6003aebb57f003a9123d.zip |
chipset_enable.c: add a message for untested chipset enables
Old output:
Calibrating delay loop... OK.
Found chipset "Intel QS57", enabling flash write... OK.
This chipset supports the following protocols: FWH, SPI.
new non-verbose output for tested chipsets:
Calibrating delay loop... OK.
Found chipset "Intel QS57". Enabling flash write... OK.
This chipset supports the following protocols: FWH, SPI.
new non-verbose output for untested chipsets:
Found chipset "Intel QS57".
This chipset is marked as untested. If you are using an up-to-date version
of flashrom please email a report to flashrom@flashrom.org including a
verbose (-V) log.
Enabling flash write... OK.
This chipset supports the following protocols: FWH, SPI.
Corresponding to flashrom svn r1379.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'chipset_enable.c')
-rw-r--r-- | chipset_enable.c | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/chipset_enable.c b/chipset_enable.c index c8aed0752..ecb020c8a 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -1226,13 +1226,22 @@ int chipset_flash_enable(void) chipset_enables[i].device_name); continue; } - msg_pinfo("Found chipset \"%s %s\", enabling flash write... ", - chipset_enables[i].vendor_name, - chipset_enables[i].device_name); - msg_pdbg("chipset PCI ID is %04x:%04x, ", + msg_pinfo("Found chipset \"%s %s\"", + chipset_enables[i].vendor_name, + chipset_enables[i].device_name); + msg_pdbg("with PCI ID %04x:%04x", chipset_enables[i].vendor_id, chipset_enables[i].device_id); - + msg_pinfo(". "); + + if (chipset_enables[i].status == NT) { + msg_pinfo("\nThis chipset is marked as untested. If " + "you are using an up-to-date version\nof " + "flashrom please email a report to " + "flashrom@flashrom.org including a\nverbose " + "(-V) log. Thank you!\n"); + } + msg_pinfo("Enabling flash write... "); ret = chipset_enables[i].doit(dev, chipset_enables[i].device_name); if (ret == NOT_DONE_YET) { |