From fab75c2978034eb968cabc0be1f9926f67179c85 Mon Sep 17 00:00:00 2001 From: uwe Date: Sat, 3 Sep 2011 17:15:00 +0000 Subject: Introduce ERROR_FATAL, abort upon failed chipset enables. Signed-off-by: Tadas Slotkus Acked-by: Uwe Hermann git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1426 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- 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.2.1