diff options
author | Simon Glass <sjg@chromium.org> | 2024-09-29 19:49:36 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-11 11:44:47 -0600 |
commit | 456bdb70def1fe371f964e82158a53f6baf1d3a4 (patch) | |
tree | 798aa42b2237966a8c1ded8af85fb011b8f47fe9 /drivers/power/acpi_pmc/acpi-pmc-uclass.c | |
parent | 41ea75aa00079ff8368fca53267671cee6289415 (diff) |
xpl: Rename spl_phase() to xpl_phase()
Rename this function to indicate that it refers to any xPL phase.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/power/acpi_pmc/acpi-pmc-uclass.c')
-rw-r--r-- | drivers/power/acpi_pmc/acpi-pmc-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/acpi_pmc/acpi-pmc-uclass.c b/drivers/power/acpi_pmc/acpi-pmc-uclass.c index c289cede15b..1e94104091e 100644 --- a/drivers/power/acpi_pmc/acpi-pmc-uclass.c +++ b/drivers/power/acpi_pmc/acpi-pmc-uclass.c @@ -60,7 +60,7 @@ int pmc_gpe_init(struct udevice *dev) * are different and if they aren't, use the reset values. */ if (dw[0] == dw[1] || dw[1] == dw[2]) { - if (spl_phase() > PHASE_TPL) + if (xpl_phase() > PHASE_TPL) log_info("PMC: Using default GPE route"); gpio_cfg = readl(upriv->gpe_cfg); for (i = 0; i < upriv->gpe0_count; i++) |