Skip to content

Commit dde2c01

Browse files
committed
flashrom: disable prettyprint_ich9_reg_hsfc so that Heads flash progress workaround works in absence of flashrom --progress
Respin of https://github.com/Dasharo/flashrom/commit/6b2061bc0699202f81aeb782f301f1bba9f8a826.patch which cannot be cherry-picked See Dasharo/flashrom#11 (comment) Signed-off-by: Thierry Laurion <insurgo@riseup.net>
1 parent c3e138c commit dde2c01

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--- ./ichspi.c.orig 2024-08-11 00:40:38.777007492 -0400
2+
+++ ./ichspi.c 2024-08-11 00:46:03.904024919 -0400
3+
@@ -492,6 +492,7 @@
4+
5+
static void prettyprint_ich9_reg_hsfc(uint16_t reg_val, enum ich_chipset ich_gen)
6+
{
7+
+#if 0
8+
msg_pdbg("HSFC: ");
9+
pprint_reg16(HSFC, FGO, reg_val, ", ");
10+
switch (ich_gen) {
11+
@@ -511,6 +512,7 @@
12+
}
13+
pprint_reg16(HSFC, FDBC, reg_val, ", ");
14+
pprint_reg16(HSFC, SME, reg_val, "\n");
15+
+#endif
16+
}
17+
18+
static void prettyprint_ich9_reg_ssfs(uint32_t reg_val)

0 commit comments

Comments
 (0)