mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +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:
parent
74c6ec695d
commit
faf01fba9d
3
layout.c
3
layout.c
@ -76,7 +76,8 @@ int show_id(uint8_t *bios, int size, int force)
|
|||||||
mb_vendor_offset = *(walk - 2);
|
mb_vendor_offset = *(walk - 2);
|
||||||
if ((*walk) == 0 || ((*walk) & 0x3ff) != 0 || (*walk) > size ||
|
if ((*walk) == 0 || ((*walk) & 0x3ff) != 0 || (*walk) > size ||
|
||||||
mb_part_offset > size || mb_vendor_offset > 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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user