diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-08-05 15:24:33 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-09 17:49:58 +0200 |
commit | 9d130a9e1038e406c4be74a70a99f5530ef5c55d (patch) | |
tree | 395bb2fe51fe9c3ca3527486f38cc0c96866651b /src/drivers/elog/elog_internal.h | |
parent | 0284f62db2e656044ba1ed39ddc3ab4ae89509af (diff) | |
download | coreboot-9d130a9e1038e406c4be74a70a99f5530ef5c55d.tar.xz |
drivers/elog: remove unnecessary global state
There were 3 variables indicating the state of the event log
region. However, there's no need to keep track of those
individually. The only thing required is to know is if
elog_scan_flash() failed. There's no other tracking required
beyond that.
BUG=chrome-os-partner:55932
Change-Id: I88ad32091d3c37966a2ac6272f8ad95bcc8c4270
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16100
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers/elog/elog_internal.h')
-rw-r--r-- | src/drivers/elog/elog_internal.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/drivers/elog/elog_internal.h b/src/drivers/elog/elog_internal.h index ef21bf0f3f..a09bbefe8d 100644 --- a/src/drivers/elog/elog_internal.h +++ b/src/drivers/elog/elog_internal.h @@ -45,20 +45,4 @@ struct event_header { /* SMBIOS Type 15 related constants */ #define ELOG_HEADER_TYPE_OEM 0x88 -typedef enum elog_area_state { - ELOG_AREA_UNDEFINED, /* Initial boot strap state */ - ELOG_AREA_EMPTY, /* Entire area is empty */ - ELOG_AREA_HAS_CONTENT, /* Area has some content */ -} elog_area_state; - -typedef enum elog_header_state { - ELOG_HEADER_INVALID, - ELOG_HEADER_VALID, -} elog_header_state; - -typedef enum elog_event_buffer_state { - ELOG_EVENT_BUFFER_OK, - ELOG_EVENT_BUFFER_CORRUPTED, -} elog_event_buffer_state; - #endif /* ELOG_INTERNAL_H_ */ |