summaryrefslogtreecommitdiff
path: root/src/include/spd_cache.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-08-05 15:41:37 -0500
committerMartin Roth <martinroth@google.com>2016-08-09 19:51:40 +0200
commit367f2b9568e03ad8ccb637a8f53623bf5eab4b7c (patch)
treebfa9e12523264ce0f81807e8c1f974419066bd98 /src/include/spd_cache.h
parent4884c5d52d23ca02be326d41233dc16b829d6535 (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/include/spd_cache.h')
0 files changed, 0 insertions, 0 deletions