From 9f23583fa70869d6ccc14d1af9ca624925a2adf4 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 16 Jan 2021 17:33:33 +0100 Subject: soc/mediatek/mt8173/dramc_pi_calibration_api.c: Use __func__ Change-Id: I461012b164bbd6f2d1162a793903aafe0b15e234 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/49564 Tested-by: build bot (Jenkins) Reviewed-by: Hung-Te Lin --- src/soc/mediatek/mt8173/dramc_pi_calibration_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc') diff --git a/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c b/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c index 79d54aa784..32582709d8 100644 --- a/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c +++ b/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c @@ -1086,7 +1086,7 @@ void perbit_window_cal(u32 channel, u8 type) } if (fail == 1) /* error handling */ - die("fail on perbit_window_cal()\n"); + die("fail on %s()\n", __func__); dramc_dbg_msg("==================================================\n"); dramc_dbg_msg(" dramc_perbit_window_swcal:\n"); -- cgit v1.2.3