summaryrefslogtreecommitdiff
path: root/src/console/console.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-31 14:47:43 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-31 14:47:43 +0000
commit64ed2b73451de4b655b3fdda0ff42825a165c317 (patch)
tree0faaae313a9a9edbf8b33f56fc18830ba14aa75f /src/console/console.c
parent5a1f5970857a5ad1fda0cf9d5945192408bf537b (diff)
downloadcoreboot-64ed2b73451de4b655b3fdda0ff42825a165c317.tar.xz
Drop \r\n and \n\r as both print_XXX and printk now do this internally.
Only some assembler files still have \r\n ... Can we move that part to C completely? Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5342 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/console/console.c')
-rw-r--r--src/console/console.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/console/console.c b/src/console/console.c
index ace76d902c..6b4173c864 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -100,12 +100,12 @@ void __attribute__((noreturn)) die(const char *msg)
void console_init(void)
{
static const char console_test[] =
- "\r\n\r\ncoreboot-"
+ "\n\ncoreboot-"
COREBOOT_VERSION
COREBOOT_EXTRA_VERSION
" "
COREBOOT_BUILD
- " starting...\r\n";
+ " starting...\n";
print_info(console_test);
}
@@ -115,7 +115,7 @@ void post_code(u8 value)
#if CONFIG_SERIAL_POST==1
print_emerg("POST: 0x");
print_emerg_hex8(value);
- print_emerg("\r\n");
+ print_emerg("\n");
#endif
outb(value, 0x80);
#endif