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>
This commit is contained in:
Subrata Banik 2019-05-15 20:12:27 +05:30
parent 48b6be81a5
commit 6644a75b0e
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}