From 96ed5b0e3e3376851c4cbb4e6750c11e5f02ba5b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 29 Sep 2024 19:49:55 -0600 Subject: spl: Rename SPL_TPL_NAME and SPL_TPL_PROMPT Rename these to use the word PHASE instead. Signed-off-by: Simon Glass --- include/spl.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include') 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 /** -- cgit v1.2.3