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 /lib/fdtdec.c | |
parent | 41ea75aa00079ff8368fca53267671cee6289415 (diff) | |
download | u-boot-456bdb70def1fe371f964e82158a53f6baf1d3a4.tar.gz |
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 'lib/fdtdec.c')
-rw-r--r-- | lib/fdtdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 5edc8dd2f9f..ab054190221 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -608,7 +608,7 @@ int fdtdec_get_chosen_node(const void *blob, const char *name) static int fdtdec_prepare_fdt(const void *blob) { if (!blob || ((uintptr_t)blob & 3) || fdt_check_header(blob)) { - if (spl_phase() <= PHASE_SPL) { + if (xpl_phase() <= PHASE_SPL) { puts("Missing DTB\n"); } else { printf("No valid device tree binary found at %p\n", |