HAOUAS Elyes has uploaded this change for review.

View Change

Hide redondant 'Error: SCIP never cleared!' message

This will hide redondant 'Error: SCIP never cleared!' messahe on ICH7.
https://paste.flashrom.org/view.php?id=3282

Note that this will take a very long time in comparison with v0.9.7-r1711 version.

current version gives:
time ./flashrom -p internal
flashrom v1.2-24-gf572b50-dirty on Linux 5.4.0-4-amd64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found chipset "Intel ICH7/ICH7R".
Enabling flash write... OK.
Found SST flash chip "SST49LF004A/B" (512 kB, FWH) mapped at physical address 0x00000000fff80000.
No operations were specified.

real 0m31,031s
user 0m10,079s
sys 0m20,785s

and old version v0.9.7-r171 will go faster:
time ./flashrom -p internal
flashrom v0.9.7-r1711 on Linux 5.4.0-4-amd64 (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
sh: 1: dmidecode: not found
dmidecode execution unsuccessful - continuing without DMI info
Found chipset "Intel ICH7/ICH7R". Enabling flash write... OK.
Found SST flash chip "SST49LF004A/B" (512 kB, FWH) at physical address 0xfff80000.
No operations were specified.

real 0m0,861s
user 0m0,844s
sys 0m0,008s

Change-Id: I0795653bd9ababccf666ed8af0c9bff22853371d
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
---
M ichspi.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/28/40328/1
diff --git a/ichspi.c b/ichspi.c
index 12ee126..19fc29e 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -852,7 +852,7 @@
programmer_delay(10);
}
if (!timeout) {
- msg_perr("Error: SCIP never cleared!\n");
+ msg_pdbg("Error: SCIP never cleared!\n");
return 1;
}


To view, visit change 40328. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I0795653bd9ababccf666ed8af0c9bff22853371d
Gerrit-Change-Number: 40328
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-MessageType: newchange