spl/tpl: change banner into upper case
authorHeiko Schocher <hs@denx.de>
Wed, 5 Dec 2018 10:29:54 +0000 (11:29 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 7 Dec 2018 13:13:51 +0000 (08:13 -0500)
commit d6330064634a ("spl: Add a define for SPL_TPL_PROMPT")

changes the SPL/TPL banner from upper case into lower
case. As SPL and TPL are three-letter acronyms and they
are written in upper case, change it back to upper case.

Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/spl.h
test/py/u_boot_console_base.py

index ee92832..ff4e627 100644 (file)
@@ -52,9 +52,9 @@ static inline bool u_boot_first_phase(void)
 /* A string name for SPL or TPL */
 #ifdef CONFIG_SPL_BUILD
 # ifdef CONFIG_TPL_BUILD
-#  define SPL_TPL_NAME "tpl"
+#  define SPL_TPL_NAME "TPL"
 # else
-#  define SPL_TPL_NAME "spl"
+#  define SPL_TPL_NAME "SPL"
 # endif
 # define SPL_TPL_PROMPT        SPL_TPL_NAME ": "
 #else
index e044eb3..326b2ac 100644 (file)
@@ -16,7 +16,7 @@ import sys
 import u_boot_spawn
 
 # Regexes for text we expect U-Boot to send to the console.
-pattern_u_boot_spl_signon = re.compile('(U-Boot spl \\d{4}\\.\\d{2}[^\r\n]*\\))')
+pattern_u_boot_spl_signon = re.compile('(U-Boot SPL \\d{4}\\.\\d{2}[^\r\n]*\\))')
 pattern_u_boot_main_signon = re.compile('(U-Boot \\d{4}\\.\\d{2}[^\r\n]*\\))')
 pattern_stop_autoboot_prompt = re.compile('Hit any key to stop autoboot: ')
 pattern_unknown_command = re.compile('Unknown command \'.*\' - try \'help\'')