From 456bdb70def1fe371f964e82158a53f6baf1d3a4 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 29 Sep 2024 19:49:36 -0600 Subject: xpl: Rename spl_phase() to xpl_phase() Rename this function to indicate that it refers to any xPL phase. Signed-off-by: Simon Glass --- lib/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/time.c') diff --git a/lib/time.c b/lib/time.c index 872f73d521e..d88edafb196 100644 --- a/lib/time.c +++ b/lib/time.c @@ -100,7 +100,7 @@ uint64_t notrace get_ticks(void) ret = timer_get_count(gd->timer, &count); if (ret) { - if (spl_phase() > PHASE_TPL) + if (xpl_phase() > PHASE_TPL) panic("Could not read count from timer (err %d)\n", ret); else -- cgit v1.2.3