]> git.baikalelectronics.ru Git - uboot.git/commit
spl: Add a define for SPL_TPL_PROMPT
authorSimon Glass <sjg@chromium.org>
Fri, 16 Nov 2018 01:43:56 +0000 (18:43 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 26 Nov 2018 13:25:34 +0000 (08:25 -0500)
commit60e2cdb931a24457cfbac9b3f2159b92758c4865
tree0d23c8414619ad3b11504fc18c8dd340f96824ec
parent634380ba21c1ba9ecad14127cf86a3cc1d0f1a6f
spl: Add a define for SPL_TPL_PROMPT

We should use a macro rather than hard-coding the SPL prompt to 'spl'
since the code can be used by TPL too. Add a macro that works for both
and use it in various places.

This allows TPL to use the same code without printing confusing messages.

Note that the string is lower case ('spl', 'tpl') which is a change from
previously.

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c
include/spl.h
test/py/u_boot_console_base.py