Skip to content

Commit cf638cc

Browse files
committed
flashrom: 1.4.0: update pending patch to upstream master downstream under Heads
repro: git fetch https://review.coreboot.org/flashrom refs/changes/54/83854/3 && git format-patch -1 --stdout FETCH_HEAD > patches/flashrom-eace095b15eb034e42d97202cad70ce979d8ca38/0001-Add_RaptorPoint_PCH_support.patch Signed-off-by: Thierry Laurion <insurgo@riseup.net>
1 parent b6da517 commit cf638cc

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

patches/flashrom-eace095b15eb034e42d97202cad70ce979d8ca38/0001-Add_RaptorPoint_PCH_support.patch

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1-
From 91be4b39e6c32463b506097f916352f6795800cd Mon Sep 17 00:00:00 2001
1+
From 99d16ef516b6080ceaaa866984b7e7fb471eaef0 Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= <michal.zygowski@3mdeb.com>
33
Date: Mon, 19 Jun 2023 09:36:52 +0200
44
Subject: [PATCH] ichspi: Add RaptorPoint PCH support
55
MIME-Version: 1.0
66
Content-Type: text/plain; charset=UTF-8
77
Content-Transfer-Encoding: 8bit
88

9+
TEST=probe flash on Z790 chipset
10+
911
Change-Id: I13ac52d5400c0e2260e12d605077fc2182c379ef
1012
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
1113
---
1214
chipset_enable.c | 20 ++++++++++++++++++-
1315
ich_descriptors.c | 9 +++++++++
14-
ichspi.c | 7 +++++++
16+
ichspi.c | 6 ++++++
1517
include/programmer.h | 1 +
1618
.../ich_descriptors_tool.c | 2 ++
17-
5 files changed, 38 insertions(+), 1 deletion(-)
19+
5 files changed, 37 insertions(+), 1 deletion(-)
1820

1921
diff --git a/chipset_enable.c b/chipset_enable.c
2022
index facf29e500..6b1c1b5c99 100644
@@ -154,7 +156,7 @@ index eaf44b0693..c436fabd37 100644
154156
case CHIPSET_PANTHER_LAKE:
155157
case CHIPSET_APOLLO_LAKE:
156158
diff --git a/ichspi.c b/ichspi.c
157-
index f74fb05c9e..9718600b91 100644
159+
index f74fb05c9e..d01f2f3887 100644
158160
--- a/ichspi.c
159161
+++ b/ichspi.c
160162
@@ -2106,6 +2106,7 @@ static void init_chipset_properties(struct swseq_data *swseq, struct hwseq_data
@@ -165,44 +167,43 @@ index f74fb05c9e..9718600b91 100644
165167
case CHIPSET_APOLLO_LAKE:
166168
case CHIPSET_GEMINI_LAKE:
167169
case CHIPSET_JASPER_LAKE:
168-
@@ -2147,6 +2148,8 @@ static void init_chipset_properties(struct swseq_data *swseq, struct hwseq_data
170+
@@ -2147,6 +2148,7 @@ static void init_chipset_properties(struct swseq_data *swseq, struct hwseq_data
169171
case CHIPSET_400_SERIES_COMET_POINT:
170172
case CHIPSET_500_SERIES_TIGER_POINT:
171173
case CHIPSET_600_SERIES_ALDER_POINT:
172174
+ case CHIPSET_700_SERIES_RAPTOR_POINT:
173-
+ case CHIPSET_METEOR_LAKE:
174175
case CHIPSET_APOLLO_LAKE:
175176
case CHIPSET_GEMINI_LAKE:
176177
case CHIPSET_JASPER_LAKE:
177-
@@ -2210,6 +2213,7 @@ static int init_ich_default(const struct programmer_cfg *cfg, void *spibar, enum
178+
@@ -2210,6 +2212,7 @@ static int init_ich_default(const struct programmer_cfg *cfg, void *spibar, enum
178179
case CHIPSET_400_SERIES_COMET_POINT:
179180
case CHIPSET_500_SERIES_TIGER_POINT:
180181
case CHIPSET_600_SERIES_ALDER_POINT:
181182
+ case CHIPSET_700_SERIES_RAPTOR_POINT:
182183
case CHIPSET_APOLLO_LAKE:
183184
case CHIPSET_GEMINI_LAKE:
184185
case CHIPSET_JASPER_LAKE:
185-
@@ -2291,6 +2295,7 @@ static int init_ich_default(const struct programmer_cfg *cfg, void *spibar, enum
186+
@@ -2291,6 +2294,7 @@ static int init_ich_default(const struct programmer_cfg *cfg, void *spibar, enum
186187
case CHIPSET_400_SERIES_COMET_POINT:
187188
case CHIPSET_500_SERIES_TIGER_POINT:
188189
case CHIPSET_600_SERIES_ALDER_POINT:
189190
+ case CHIPSET_700_SERIES_RAPTOR_POINT:
190191
case CHIPSET_APOLLO_LAKE:
191192
case CHIPSET_GEMINI_LAKE:
192193
case CHIPSET_JASPER_LAKE:
193-
@@ -2332,6 +2337,7 @@ static int init_ich_default(const struct programmer_cfg *cfg, void *spibar, enum
194+
@@ -2332,6 +2336,7 @@ static int init_ich_default(const struct programmer_cfg *cfg, void *spibar, enum
194195
case CHIPSET_400_SERIES_COMET_POINT:
195196
case CHIPSET_500_SERIES_TIGER_POINT:
196197
case CHIPSET_600_SERIES_ALDER_POINT:
197198
+ case CHIPSET_700_SERIES_RAPTOR_POINT:
198199
case CHIPSET_APOLLO_LAKE:
199200
case CHIPSET_GEMINI_LAKE:
200201
case CHIPSET_JASPER_LAKE:
201-
@@ -2371,6 +2377,7 @@ static int init_ich_default(const struct programmer_cfg *cfg, void *spibar, enum
202+
@@ -2371,6 +2376,7 @@ static int init_ich_default(const struct programmer_cfg *cfg, void *spibar, enum
202203
ich_gen == CHIPSET_400_SERIES_COMET_POINT ||
203204
ich_gen == CHIPSET_500_SERIES_TIGER_POINT ||
204205
ich_gen == CHIPSET_600_SERIES_ALDER_POINT ||
205-
+ ich_gen == CHIPSET_700_SERIES_RAPTOR_POINT)) {
206+
+ ich_gen == CHIPSET_700_SERIES_RAPTOR_POINT ||
206207
ich_gen == CHIPSET_C740_SERIES_EMMITSBURG)) {
207208
msg_pdbg("Enabling hardware sequencing by default for 100+ series PCH.\n");
208209
ich_spi_mode = ich_hwseq;

0 commit comments

Comments
 (0)