diff options
| author | Simon Glass <[email protected]> | 2024-09-29 19:49:36 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-11 11:44:47 -0600 |
| commit | 456bdb70def1fe371f964e82158a53f6baf1d3a4 (patch) | |
| tree | 798aa42b2237966a8c1ded8af85fb011b8f47fe9 /include | |
| 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 <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/spl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/spl.h b/include/spl.h index 6d44b627259..bf011139548 100644 --- a/include/spl.h +++ b/include/spl.h @@ -74,7 +74,7 @@ enum xpl_phase_t { }; /** - * spl_phase() - Find out the phase of U-Boot + * xpl_phase() - Find out the phase of U-Boot * * This can be used to avoid #ifdef logic and use if() instead. * @@ -86,7 +86,7 @@ enum xpl_phase_t { * * but with this you can use: * - * if (spl_phase() == PHASE_TPL) { + * if (xpl_phase() == PHASE_TPL) { * ... * } * @@ -98,7 +98,7 @@ enum xpl_phase_t { * * but with this you can use: * - * if (spl_phase() == PHASE_SPL) { + * if (xpl_phase() == PHASE_SPL) { * ... * } * @@ -110,13 +110,13 @@ enum xpl_phase_t { * * but with this you can use: * - * if (spl_phase() == PHASE_BOARD_F) { + * if (xpl_phase() == PHASE_BOARD_F) { * ... * } * * Return: U-Boot phase */ -static inline enum xpl_phase_t spl_phase(void) +static inline enum xpl_phase_t xpl_phase(void) { #ifdef CONFIG_TPL_BUILD return PHASE_TPL; |
