mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-26 22:52:34 +02:00
Change warning regarding protected ICH regions
There is no good reason to collect further log files of locked Intel- based boards. Forward affected users directly to an explanation in the wiki instead. Corresponding to flashrom svn r1675. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
parent
efe2d43056
commit
27cb34b8a9
9
ichspi.c
9
ichspi.c
@ -1700,6 +1700,10 @@ int ich_init_spi(struct pci_dev *dev, uint32_t base, void *rcrb,
|
|||||||
/* Handle FREGx and FRAP registers */
|
/* Handle FREGx and FRAP registers */
|
||||||
for (i = 0; i < 5; i++)
|
for (i = 0; i < 5; i++)
|
||||||
ich_spi_rw_restricted |= ich9_handle_frap(tmp, i);
|
ich_spi_rw_restricted |= ich9_handle_frap(tmp, i);
|
||||||
|
if (ich_spi_rw_restricted)
|
||||||
|
msg_pwarn("Not all flash regions are freely accessible by flashrom. This is "
|
||||||
|
"most likely\ndue to an active ME. Please see http://flashrom.org/ME "
|
||||||
|
"for details.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handle PR registers */
|
/* Handle PR registers */
|
||||||
@ -1711,11 +1715,6 @@ int ich_init_spi(struct pci_dev *dev, uint32_t base, void *rcrb,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ich_spi_rw_restricted) {
|
if (ich_spi_rw_restricted) {
|
||||||
msg_pinfo("Please send a verbose log to "
|
|
||||||
"flashrom@flashrom.org if this board is not "
|
|
||||||
"listed on\n"
|
|
||||||
"http://flashrom.org/Supported_hardware#Supported_mainboards "
|
|
||||||
"yet.\n");
|
|
||||||
if (!ich_spi_force)
|
if (!ich_spi_force)
|
||||||
programmer_may_write = 0;
|
programmer_may_write = 0;
|
||||||
msg_pinfo("Writes have been disabled for safety reasons. You can enforce write\n"
|
msg_pinfo("Writes have been disabled for safety reasons. You can enforce write\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user