storm: enable early console

Include the required modules in romstage and enable early console.

BUG=chrome-os-partner:27784
TEST=observe the romstage prompt in the console output:
   coreboot-4.0 romstage Tue May 13 17:08:58 PDT 2014 starting...

Original-Change-Id: Ie3853b9afc53246e6eb997f279ccd4dbb08f748b
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/199673
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
(cherry picked from commit 6e643d3425ee226b3ebfbf329b35e7017f83d0c3)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: Ibdc695da634356988b3e551b0a9e4be2e129ccb4
Reviewed-on: http://review.coreboot.org/7997
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Vadim Bendebury 2014-05-13 17:11:30 -07:00 committed by Kyösti Mälkki
parent 15c98b0217
commit 1ea5685862
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@
bootblock-y += cdp.c bootblock-y += cdp.c
romstage-y += romstage.c romstage-y += romstage.c
romstage-y += cdp.c
ramstage-y += mainboard.c ramstage-y += mainboard.c
ramstage-y += cdp.c ramstage-y += cdp.c

View File

@ -26,6 +26,7 @@ void main(void)
{ {
void *entry; void *entry;
console_init();
cbmem_initialize_empty(); cbmem_initialize_empty();
entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA, "fallback/coreboot_ram"); entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA, "fallback/coreboot_ram");