Add stage information to coreboot banner
This is just a convenience - when printing a pre-ram coreboot banner,
add the actual stage name to it.
BUG=none
TEST=manual
. with CONFIG_EARLY_CONSOLE enabled the banners look as follows (the
last one is for ramstage reads 'booting' instead of 'starting'):
coreboot-4.0 bootblock Tue May 13 14:13:37 PDT 2014 starting...
coreboot-4.0 romstage Tue May 13 14:13:37 PDT 2014 starting...
coreboot-4.0 Tue May 13 14:13:37 PDT 2014 booting...
Change-Id: I218c0d3bbfa4a9bdff5632855c520af8626d6495
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/199671
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
74ed268b16
commit
0cc9e15513
1 changed files with 5 additions and 1 deletions
|
|
@ -124,7 +124,11 @@ void console_init(void)
|
|||
"\n\ncoreboot-"
|
||||
COREBOOT_VERSION
|
||||
COREBOOT_EXTRA_VERSION
|
||||
" "
|
||||
#if defined(__BOOT_BLOCK__)
|
||||
" bootblock "
|
||||
#else
|
||||
" romstage "
|
||||
#endif
|
||||
COREBOOT_BUILD
|
||||
" starting...\n";
|
||||
print_info(console_test);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue