mirror of
https://review.coreboot.org/flashrom.git
synced 2025-08-16 03:44:41 +02:00
Introduce ERROR_FATAL, abort upon failed chipset enables
Corresponding to flashrom svn r1426. Signed-off-by: Tadas Slotkus <devtadas@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:

committed by
Uwe Hermann

parent
3093f8f75e
commit
ad470347fd
@@ -1325,6 +1325,10 @@ int chipset_flash_enable(void)
|
||||
msg_pinfo("OK.\n");
|
||||
else if (ret == ERROR_NONFATAL)
|
||||
msg_pinfo("PROBLEMS, continuing anyway\n");
|
||||
if (ret == ERROR_FATAL) {
|
||||
msg_perr("FATAL ERROR!\n");
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
s = flashbuses_to_text(buses_supported);
|
||||
|
Reference in New Issue
Block a user