diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2018-05-24 18:22:42 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-25 16:40:19 +0000 |
commit | 12173feef8a92962daf61e56db89d948d27916ef (patch) | |
tree | 6491d62ea53ba6f087ec6c0a29593555ac691437 /src/drivers/pc80 | |
parent | f55c3c2eb934464054e3b41e8dd1e0e23732ee52 (diff) | |
download | coreboot-12173feef8a92962daf61e56db89d948d27916ef.tar.xz |
elog: Only print TYPE_BOOT on S3-resume if CONFIG_ELOG_BOOT_COUNT
Previously, we were unconditionally adding a TYPE_BOOT message to the ELOG
on every boot (even S3 resume) if CONFIG_ELOG_BOOT_COUNT was disabled.
Now that boot_count_read() returns 0 for the !CONFIG_ELOG_BOOT_COUNT
case, the code becomes a bit simpler.
BUG=b:79865267
TEST=firmware_EventLog
Change-Id: I803fa4c3e03b6cc94751cf0ce34b78021ae2124e
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-on: https://review.coreboot.org/26527
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/pc80')
0 files changed, 0 insertions, 0 deletions