summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-05-15 20:12:27 +0530
committerSubrata Banik <subrata.banik@intel.com>2019-05-16 04:35:13 +0000
commit6644a75b0e9fec0ba104e5249f238520b6e3f7f6 (patch)
tree7c7447e301e501560eeac71b9bc929c016971cbe /src
parent48b6be81a5753779f036818a62dd9d61c6abc9c0 (diff)
downloadcoreboot-6644a75b0e9fec0ba104e5249f238520b6e3f7f6.tar.xz
drivers/elog: Rename ramstage_elog_add_boot_count() to elog_add_boot_count()
This patch removes ramstage_ prefix from ramstage_elog_add_boot_count() function. Change-Id: Ia75b2dc959ace7dc26dc974c5f4b5cb6c5a25617 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32803 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: ron minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/elog/elog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c
index 85b79983a5..e41b55bba5 100644
--- a/src/drivers/elog/elog.c
+++ b/src/drivers/elog/elog.c
@@ -797,7 +797,7 @@ static bool elog_do_add_boot_count(void)
#endif
}
-static void ramstage_elog_add_boot_count(void)
+static void elog_add_boot_count(void)
{
if (elog_do_add_boot_count()) {
elog_add_event_dword(ELOG_TYPE_BOOT, boot_count_read());
@@ -860,7 +860,7 @@ int elog_init(void)
es->full_threshold, es->shrink_size);
if (ENV_RAMSTAGE)
- ramstage_elog_add_boot_count();
+ elog_add_boot_count();
return 0;
}