1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 07:02:34 +02:00

Don't abort if chipset init failed because the failing init may have been a warning only

Even a failing chipset init (maybe due to unknown chipset) could still
get us reasonable probe results or at least forced reads.

Corresponding to flashrom svn r708.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
Carl-Daniel Hailfinger 2009-09-02 13:43:56 +00:00
parent 84395ed69f
commit 9246ff4063

View File

@ -130,7 +130,11 @@ int internal_init(void)
board_flash_enable(lb_vendor, lb_part);
return ret;
/* Even if chipset init returns an error code, we don't want to abort.
* The error code might have been a warning only.
* Besides that, we don't check the board enable return code either.
*/
return 0;
}
int internal_shutdown(void)