diff options
| author | Simon Glass <[email protected]> | 2024-09-29 19:49:39 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-11 11:44:47 -0600 |
| commit | 6c49fc5882baa2c496b03f8260a5b21ef48ed9c5 (patch) | |
| tree | 626ee011f166a07987966f71dbc150c8cd9eff58 /include/spl.h | |
| parent | 44a4c8e93fe393cd84c70ba1be0c47e25e6ff66c (diff) | |
xpl: Rename spl_next_phase() and spl_prev_phase()
Rename this to use the xpl prefix.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/spl.h')
| -rw-r--r-- | include/spl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/spl.h b/include/spl.h index fe2df78b0a6..50ffe4f79f9 100644 --- a/include/spl.h +++ b/include/spl.h @@ -155,12 +155,12 @@ static inline bool is_xpl(void) } /** - * spl_prev_phase() - Figure out the previous U-Boot phase + * xpl_prev_phase() - Figure out the previous U-Boot phase * * Return: the previous phase from this one, e.g. if called in SPL this returns * PHASE_TPL, if TPL is enabled */ -static inline enum xpl_phase_t spl_prev_phase(void) +static inline enum xpl_phase_t xpl_prev_phase(void) { #ifdef CONFIG_TPL_BUILD return PHASE_NONE; @@ -177,12 +177,12 @@ static inline enum xpl_phase_t spl_prev_phase(void) } /** - * spl_next_phase() - Figure out the next U-Boot phase + * xpl_next_phase() - Figure out the next U-Boot phase * * Return: the next phase from this one, e.g. if called in TPL this returns * PHASE_SPL */ -static inline enum xpl_phase_t spl_next_phase(void) +static inline enum xpl_phase_t xpl_next_phase(void) { #ifdef CONFIG_TPL_BUILD return IS_ENABLED(CONFIG_VPL) ? PHASE_VPL : PHASE_SPL; |
