diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-08-05 15:41:37 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-09 19:51:40 +0200 |
commit | 367f2b9568e03ad8ccb637a8f53623bf5eab4b7c (patch) | |
tree | bfa9e12523264ce0f81807e8c1f974419066bd98 /src/drivers/ics | |
parent | 4884c5d52d23ca02be326d41233dc16b829d6535 (diff) |
drivers/elog: consolidate checks in elog_find_flash()
There were checks against global variables trying to determine
failing cases of elog_find_flash(). Instead move the checks
into elog_find_flash() and return value indicating failure.
A minimum 4KiB check was added to ensure the eventlog is at
least that size which makes the heuristic checks cleaner.
BUG=chrome-os-partner:55932
Change-Id: I4d9d13148555e05d4f217a10f995831a0e437fc3
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16101
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers/ics')
0 files changed, 0 insertions, 0 deletions