diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2018-05-24 18:24:07 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-25 16:40:41 +0000 |
commit | 7c670695fa560dee9fd7639b0ed2a2cf56889f53 (patch) | |
tree | ba8383d9a9296c7356ae9d87df62c1d277533c51 /src/mainboard/advansus/Kconfig.name | |
parent | 12173feef8a92962daf61e56db89d948d27916ef (diff) |
elog: Only log POST code from previous boot on non-S3 resume
It doesn't make sense to log post codes from a previous (failed) boot
if we are resuming from S3, since the previous boot has to have been
successful in order to enter S3 in the first place.
While we are at it, use a helper function to combine conditionals and
improve readability.
BUG=none
TEST=boot, suspend & resume grunt
Change-Id: I4f3bb8526a0c8c0ea1efd924628b33c147543b88
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-on: https://review.coreboot.org/26528
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/mainboard/advansus/Kconfig.name')
0 files changed, 0 insertions, 0 deletions