summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libc/console.c
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2012-09-29 00:21:27 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-09 19:01:15 +0100
commita54b6a61433600fe80d215dc8f8489fab44d0bfd (patch)
tree073683aae706c5cbb54fed2a16c8d12e1d8b478b /payloads/libpayload/libc/console.c
parent87abeff334c2a90e743434c4549da3cfce4d144a (diff)
libpayload: Add support for the CBMEM in memory console.
Change-Id: I1489b5306ef1ca078686fed4dba2d242f70ad941 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: http://review.coreboot.org/1727 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads/libpayload/libc/console.c')
-rw-r--r--payloads/libpayload/libc/console.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/payloads/libpayload/libc/console.c b/payloads/libpayload/libc/console.c
index 5368dd698b..fce6de4fa0 100644
--- a/payloads/libpayload/libc/console.c
+++ b/payloads/libpayload/libc/console.c
@@ -57,6 +57,9 @@ void console_init(void)
#ifdef CONFIG_PC_KEYBOARD
keyboard_init();
#endif
+#ifdef CONFIG_CBMEM_CONSOLE
+ cbmem_console_init();
+#endif
}
static void device_putchar(unsigned char c)