summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2016-07-30 11:19:13 -0700
committerAaron Durbin <adurbin@chromium.org>2016-08-02 18:37:55 +0200
commit5e61233fc107f938f11b9db00aed23f99c6ae9ba (patch)
tree8df537c01436f63c8a4ea8796a4b8cf5554922b5 /src
parent672df16a493a5ddc933e8634772beedefc369a3d (diff)
downloadcoreboot-5e61233fc107f938f11b9db00aed23f99c6ae9ba.tar.xz
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 Change-Id: I553277cdc09a8af420ecf7caefcb59bc3dcb28f1 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>
Diffstat (limited to 'src')
-rw-r--r--src/include/elog.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/elog.h b/src/include/elog.h
index b94a281e3c..3f949bf384 100644
--- a/src/include/elog.h
+++ b/src/include/elog.h
@@ -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_ */