From a31ef8c2426db858cafe3d7afa6218e571724ea6 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Tue, 15 Nov 2022 09:46:48 +0100 Subject: [PATCH] soc/amd/common/pi/def_callouts.c: Fix log messages It is no longer necessary to explicitly add "Warning" in front of BIOS_WARNING message. Change-Id: If1645180dd98ff5a1661fd568554de5831ef237e Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/69623 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/soc/amd/common/pi/def_callouts.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/soc/amd/common/pi/def_callouts.c b/src/soc/amd/common/pi/def_callouts.c index 223abe3169..ee70951569 100644 --- a/src/soc/amd/common/pi/def_callouts.c +++ b/src/soc/amd/common/pi/def_callouts.c @@ -147,7 +147,7 @@ AGESA_STATUS agesa_GfxGetVbiosImage(uint32_t Func, uintptr_t FchData, AGESA_STATUS __weak platform_PcieSlotResetControl(uint32_t Func, uintptr_t Data, void *ConfigPtr) { - printk(BIOS_WARNING, "Warning - AGESA callout: %s not supported\n", + printk(BIOS_WARNING, "AGESA callout: %s not supported\n", __func__); return AGESA_UNSUPPORTED; } @@ -231,7 +231,7 @@ AGESA_STATUS agesa_RunFcnOnAllAps(uint32_t Func, uintptr_t Data, AGESA_STATUS agesa_WaitForAllApsFinished(uint32_t Func, uintptr_t Data, void *ConfigPtr) { - printk(BIOS_WARNING, "Warning - AGESA callout: %s not supported\n", + printk(BIOS_WARNING, "AGESA callout: %s not supported\n", __func__); AGESA_STATUS Status = AGESA_UNSUPPORTED; @@ -240,7 +240,7 @@ AGESA_STATUS agesa_WaitForAllApsFinished(uint32_t Func, uintptr_t Data, AGESA_STATUS agesa_IdleAnAp(uint32_t Func, uintptr_t Data, void *ConfigPtr) { - printk(BIOS_WARNING, "Warning - AGESA callout: %s no supported\n", + printk(BIOS_WARNING, "AGESA callout: %s not supported\n", __func__); AGESA_STATUS Status = AGESA_UNSUPPORTED;