From ad470347fdf7da1da2b690c4ae0579b09b879bfa Mon Sep 17 00:00:00 2001 From: Tadas Slotkus Date: Sat, 3 Sep 2011 17:15:00 +0000 Subject: Introduce ERROR_FATAL, abort upon failed chipset enables Corresponding to flashrom svn r1426. Signed-off-by: Tadas Slotkus Acked-by: Uwe Hermann --- internal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal.c') diff --git a/internal.c b/internal.c index 846cf1e..46836b7 100644 --- a/internal.c +++ b/internal.c @@ -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 -- cgit v1.1