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:
parent
48b6be81a5
commit
6644a75b0e
|
@ -797,7 +797,7 @@ static bool elog_do_add_boot_count(void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ramstage_elog_add_boot_count(void)
|
static void elog_add_boot_count(void)
|
||||||
{
|
{
|
||||||
if (elog_do_add_boot_count()) {
|
if (elog_do_add_boot_count()) {
|
||||||
elog_add_event_dword(ELOG_TYPE_BOOT, boot_count_read());
|
elog_add_event_dword(ELOG_TYPE_BOOT, boot_count_read());
|
||||||
|
@ -860,7 +860,7 @@ int elog_init(void)
|
||||||
es->full_threshold, es->shrink_size);
|
es->full_threshold, es->shrink_size);
|
||||||
|
|
||||||
if (ENV_RAMSTAGE)
|
if (ENV_RAMSTAGE)
|
||||||
ramstage_elog_add_boot_count();
|
elog_add_boot_count();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue