summaryrefslogtreecommitdiff
path: root/src/console/printk.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-02-27 19:30:18 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-18 16:39:19 +0200
commit4076072b6c76debae0e328486d9bab71fe391db7 (patch)
tree9c0ac4e1c9e65b15d6923cf3c41e4aaccf209b8b /src/console/printk.c
parentfd95624dae22b00e00417dbfa1c0a4a4a40193c0 (diff)
console: Use romstage code for ramstage and SMM
Console is arch-agnostic and there is no need for separate implementations for romstage and ramstage. For SMM there is console only if DEBUG_SMI is selected. Change-Id: I7028eeeff8bfbb9c8552972436b29a7508834d87 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5338 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/console/printk.c')
-rw-r--r--src/console/printk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/console/printk.c b/src/console/printk.c
index 2fa160b4f3..40ea4049d6 100644
--- a/src/console/printk.c
+++ b/src/console/printk.c
@@ -10,6 +10,7 @@
#include <smp/spinlock.h>
#include <console/vtxprintf.h>
#include <console/console.h>
+#include <console/streams.h>
#include <trace.h>
DECLARE_SPIN_LOCK(console_lock)