1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +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

@ -268,7 +268,8 @@ int internal_init(void)
if (ret == -2) {
msg_perr("WARNING: No chipset found. Flash detection "
"will most likely fail.\n");
}
} else if (ret == ERROR_FATAL)
return ret;
#if defined(__i386__) || defined(__x86_64__)
/* Probe unconditionally for IT87* LPC->SPI translation and for