commit | 1f081530b60ee805532f106f59cc33973e160481 | [log] [tgz] |
---|---|---|
author | Nico Huber <nico.h@gmx.de> | Sat Oct 14 15:01:13 2017 +0200 |
committer | Nico Huber <nico.h@gmx.de> | Sun Nov 05 14:36:50 2017 +0000 |
tree | ebb7155eaeda5f891a435d4087e6532ccb8a15c5 | |
parent | 8b2152d54a67e4139525ce49aefe1a6d0e41b85c [diff] |
spi25_statusreg: Return defined value on failed RDSR The interface of spi_read_status_register() is broken and can't return errors. Let's not return random stack data at least. Change-Id: I714b20001a5443bba665c2e0061ca14069777581 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/22017 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>