1
0
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:
Tadas Slotkus
2011-09-03 17:15:00 +00:00
committed by Uwe Hermann
parent 3093f8f75e
commit ad470347fd
3 changed files with 10 additions and 2 deletions

View File

@@ -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);