summaryrefslogtreecommitdiff
path: root/src/mainboard/ocp
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2019-01-11 09:18:20 +0100
committerPatrick Rudolph <siro@das-labor.org>2019-01-14 09:14:01 +0000
commitaa6d38859768486d3353edd7aef092b6318ac1bf (patch)
treefd68b65d88d27ac89e5f8e5983b3e475197e1821 /src/mainboard/ocp
parent95c021b63a028e94a2f171b7e11774e2910898f9 (diff)
downloadcoreboot-aa6d38859768486d3353edd7aef092b6318ac1bf.tar.xz
soc/intel/fsp_broadwell_de: Move early_mainboard_romstage_entry()
Move early_mainboard_romstage_entry before console_init. Allows to setup a SuperIO, if any, for serial console. Change-Id: I370263a6197a4c0c805352f07fedddbee1b8e247 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/30828 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/ocp')
-rw-r--r--src/mainboard/ocp/wedge100s/romstage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/ocp/wedge100s/romstage.c b/src/mainboard/ocp/wedge100s/romstage.c
index 1d770366ba..9e294d978b 100644
--- a/src/mainboard/ocp/wedge100s/romstage.c
+++ b/src/mainboard/ocp/wedge100s/romstage.c
@@ -40,6 +40,7 @@ void early_mainboard_romstage_entry(void)
*/
msr_t msr = rdmsr(IA32_FEATURE_CONTROL);
if (msr.lo & 1) {
+ console_init();
printk(BIOS_EMERG, "Detected broken platform state. Issuing full reset\n");
full_reset();
}