summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2014-05-13 17:11:30 -0700
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-01-03 04:59:39 +0100
commit1ea568586264946d357cc481447ed6395a129640 (patch)
treef7c03677af378c46fdfda49c42933f2b30905399
parent15c98b021771d10c4bb98e5b0e8cb910cd0c1f7d (diff)
downloadcoreboot-1ea568586264946d357cc481447ed6395a129640.tar.xz
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>
-rw-r--r--src/mainboard/google/storm/Makefile.inc1
-rw-r--r--src/mainboard/google/storm/romstage.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/storm/Makefile.inc b/src/mainboard/google/storm/Makefile.inc
index 17f967605b..4a47c9ec85 100644
--- a/src/mainboard/google/storm/Makefile.inc
+++ b/src/mainboard/google/storm/Makefile.inc
@@ -20,6 +20,7 @@
bootblock-y += cdp.c
romstage-y += romstage.c
+romstage-y += cdp.c
ramstage-y += mainboard.c
ramstage-y += cdp.c
diff --git a/src/mainboard/google/storm/romstage.c b/src/mainboard/google/storm/romstage.c
index 10632d8d5f..99cc90bea9 100644
--- a/src/mainboard/google/storm/romstage.c
+++ b/src/mainboard/google/storm/romstage.c
@@ -26,6 +26,7 @@ void main(void)
{
void *entry;
+ console_init();
cbmem_initialize_empty();
entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA, "fallback/coreboot_ram");