UPSTREAM: elog: Include declarations for boot count functions unconditionally
There is no need to add guards around boot_count_* functions since the static definition of boot_count_read is anyways unused. BUG=chrome-os-partner:55473 BRANCH=None TEST=None Change-Id: I47e8ed76b137c32d9ea0c4967fc616edf40798e5 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/15997 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://chromium-review.googlesource.com/367363 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
fe49ccfbcc
commit
c282ad3dee
1 changed files with 0 additions and 4 deletions
|
|
@ -171,11 +171,7 @@ static inline int elog_smbios_write_type15(unsigned long *current,
|
|||
|
||||
extern u32 gsmi_exec(u8 command, u32 *param);
|
||||
|
||||
#if CONFIG_ELOG_BOOT_COUNT
|
||||
u32 boot_count_read(void);
|
||||
u32 boot_count_increment(void);
|
||||
#else
|
||||
static inline u32 boot_count_read(void) { return 0; }
|
||||
#endif /* CONFIG_ELOG_BOOT_COUNT */
|
||||
|
||||
#endif /* ELOG_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue