mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +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:
parent
84395ed69f
commit
9246ff4063
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user