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:
Vadim Bendebury 2014-05-13 15:37:59 -07:00 committed by chrome-internal-fetch
commit 0cc9e15513

View file

@ -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);