1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 07:02:34 +02:00

Explain better what checks are disabled in case we detect a legacy BIOS

Corresponding to flashrom svn r1310.

Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
Stefan Tauner 2011-05-18 01:31:53 +00:00
parent 74c6ec695d
commit faf01fba9d

View File

@ -76,7 +76,8 @@ int show_id(uint8_t *bios, int size, int force)
mb_vendor_offset = *(walk - 2);
if ((*walk) == 0 || ((*walk) & 0x3ff) != 0 || (*walk) > size ||
mb_part_offset > size || mb_vendor_offset > size) {
msg_pinfo("Flash image seems to be a legacy BIOS. Disabling checks.\n");
msg_pinfo("Flash image seems to be a legacy BIOS. "
"Disabling coreboot-related checks.\n");
return 0;
}