diff options
author | Peter Stuge <peter@stuge.se> | 2008-06-24 01:22:03 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2008-06-24 01:22:03 +0000 |
commit | 606a207d9be0129296eda235896c9354b4e04e1f (patch) | |
tree | c7724f290c70688d0004a6bd568af063e58195e7 /documentation/codeflow.eps | |
parent | 12afdd82ac6299d6ec1bb571a8043a61560a2f3a (diff) |
flashrom: Slight restructure of SPI probe_ functions
Preparation for a probe optimization patch. This patch does not change any
functionality. spi_probe_rdid was tested to still work on my M57SLI rev 2.
The idea is to have error checks return error immediately when something
fails, rather than having code inside an if block where the condition
tests for success.
This means: Less indentation, more clear what the code is checking.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Ward Vandewege <ward@gnu.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3386 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'documentation/codeflow.eps')
0 files changed, 0 insertions, 0 deletions