[coreboot-gerrit] New patch to review for coreboot: 1e6fea9 storm: enable early console

Marc Jones (marc.jones@se-eng.com) gerrit at coreboot.org
Wed Dec 31 06:35:07 CET 2014


Marc Jones (marc.jones at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7997

-gerrit

commit 1e6fea90b918c58e68ba63bd3eaf1a75226b19d7
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Tue May 13 17:11:30 2014 -0700

    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 at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/199673
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    (cherry picked from commit 6e643d3425ee226b3ebfbf329b35e7017f83d0c3)
    Signed-off-by: Marc Jones <marc.jones at se-eng.com>
    
    Change-Id: Ibdc695da634356988b3e551b0a9e4be2e129ccb4
---
 src/mainboard/google/storm/Makefile.inc | 1 +
 src/mainboard/google/storm/romstage.c   | 2 ++
 src/soc/qualcomm/ipq806x/Kconfig        | 1 +
 3 files changed, 4 insertions(+)

diff --git a/src/mainboard/google/storm/Makefile.inc b/src/mainboard/google/storm/Makefile.inc
index 17f9676..4a47c9e 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 cf78e44..6fadedf 100644
--- a/src/mainboard/google/storm/romstage.c
+++ b/src/mainboard/google/storm/romstage.c
@@ -25,6 +25,8 @@ void main(void)
 {
 	void *entry;
 
+	console_init();
+
 	entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA, "fallback/coreboot_ram");
 	stage_exit(entry);
 }
diff --git a/src/soc/qualcomm/ipq806x/Kconfig b/src/soc/qualcomm/ipq806x/Kconfig
index 12f31c7..385c793 100644
--- a/src/soc/qualcomm/ipq806x/Kconfig
+++ b/src/soc/qualcomm/ipq806x/Kconfig
@@ -7,6 +7,7 @@ config SOC_QC_IPQ806X
 	select ARM_LPAE
 	select BOOTBLOCK_CONSOLE
 	select DYNAMIC_CBMEM
+	select EARLY_CONSOLE
 	select HAVE_UART_SPECIAL
 	select SPI_ATOMIC_SEQUENCING
 



More information about the coreboot-gerrit mailing list