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/spi | |
parent | 41ea75aa00079ff8368fca53267671cee6289415 (diff) | |
download | u-boot-456bdb70def1fe371f964e82158a53f6baf1d3a4.zip u-boot-456bdb70def1fe371f964e82158a53f6baf1d3a4.tar.gz u-boot-456bdb70def1fe371f964e82158a53f6baf1d3a4.tar.bz2 |
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/spi')
-rw-r--r-- | drivers/spi/ich.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c index e48ca65..2264ca8 100644 --- a/drivers/spi/ich.c +++ b/drivers/spi/ich.c @@ -779,7 +779,7 @@ static int ich_init_controller(struct udevice *dev, struct ich_spi_plat *plat, struct ich_spi_priv *ctlr) { - if (spl_phase() == PHASE_TPL) { + if (xpl_phase() == PHASE_TPL) { struct ich_spi_plat *plat = dev_get_plat(dev); int ret; @@ -867,7 +867,7 @@ static int ich_spi_probe(struct udevice *dev) if (ret) return ret; - if (spl_phase() == PHASE_TPL) { + if (xpl_phase() == PHASE_TPL) { /* Cache the BIOS to speed things up */ ret = ich_cache_bios_region(dev); if (ret) |