diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2018-05-24 18:00:45 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-25 16:40:08 +0000 |
commit | f55c3c2eb934464054e3b41e8dd1e0e23732ee52 (patch) | |
tree | 03f8d90314977f27c5d2c399cdfe5bec4f258071 /src/lib/libgcc.c | |
parent | c6c897280e4997eeb3be0311d01c5e2f26b816cd (diff) |
elog: Allow calling boot_count_read() without CONFIG_ELOG_BOOT_COUNT
Have boot_count_read() just return 0 if CONFIG_ELOG_BOOT_COUNT is not
enabled.
BUG=b:79865267
TEST=firmware_EventLog
Change-Id: I70f16226371324dea37b3f36f85c2037e324ef31
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-on: https://review.coreboot.org/26526
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/lib/libgcc.c')
0 files changed, 0 insertions, 0 deletions