diff options
author | Simon Glass <sjg@chromium.org> | 2024-09-29 19:49:34 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-11 11:44:47 -0600 |
commit | 713bfc58f948e46e0e01ff8b50ef9f30f6f8317c (patch) | |
tree | 998d95aac7335e79906d35775a7f7b59212acd73 /common/spl/spl.c | |
parent | 90fb55e0425f6be5dd58f2dc4910b6936e6f7699 (diff) |
xpl: Rename u_boot_first_phase to xpl_is_first_phase()
This is a better name for this function, so update it.
Tidy up the function comment to mention VPL.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/spl/spl.c')
-rw-r--r-- | common/spl/spl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index c13b2b8f714..9c3bba48251 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -464,13 +464,13 @@ static int spl_common_init(bool setup_malloc) gd->malloc_ptr = 0; } #endif - ret = bootstage_init(u_boot_first_phase()); + ret = bootstage_init(xpl_is_first_phase()); if (ret) { debug("%s: Failed to set up bootstage: ret=%d\n", __func__, ret); return ret; } - if (!u_boot_first_phase()) { + if (!xpl_is_first_phase()) { ret = bootstage_unstash_default(); if (ret) log_debug("Failed to unstash bootstage: ret=%d\n", ret); |