Don't abort if chipset init failed because the failing init may have been a warning only. This was requested by Stefan.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Index: flashrom-internal_init_noabort/internal.c =================================================================== --- flashrom-internal_init_noabort/internal.c (Revision 706) +++ flashrom-internal_init_noabort/internal.c (Arbeitskopie) @@ -130,7 +130,11 @@
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)