diff options
| author | Simon Glass <sjg@chromium.org> | 2024-09-29 19:49:55 -0600 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2024-10-11 11:44:48 -0600 |
| commit | 96ed5b0e3e3376851c4cbb4e6750c11e5f02ba5b (patch) | |
| tree | 1f7204a626229c66708bb09ec36c7f1cbeb33d0f /include/spl.h | |
| parent | 5c10c8badf8233cac1593cd2bef4d0379ac9e5bd (diff) | |
spl: Rename SPL_TPL_NAME and SPL_TPL_PROMPT
Rename these to use the word PHASE instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/spl.h')
| -rw-r--r-- | include/spl.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/spl.h b/include/spl.h index 3fc50cd9195..269e36bb441 100644 --- a/include/spl.h +++ b/include/spl.h @@ -241,16 +241,16 @@ static inline const char *xpl_prefix(enum xpl_phase_t phase) /* A string name for SPL or TPL */ #ifdef CONFIG_XPL_BUILD # ifdef CONFIG_TPL_BUILD -# define SPL_TPL_NAME "TPL" +# define PHASE_NAME "TPL" # elif defined(CONFIG_VPL_BUILD) -# define SPL_TPL_NAME "VPL" -# else -# define SPL_TPL_NAME "SPL" +# define PHASE_NAME "VPL" +# elif defined(CONFIG_SPL_BUILD) +# define PHASE_NAME "SPL" # endif -# define SPL_TPL_PROMPT SPL_TPL_NAME ": " +# define PHASE_PROMPT PHASE_NAME ": " #else -# define SPL_TPL_NAME "" -# define SPL_TPL_PROMPT "" +# define PHASE_NAME "" +# define PHASE_PROMPT "" #endif /** |
