From: Michal Simek Date: Thu, 10 Nov 2011 12:40:08 +0000 (+0100) Subject: microblaze: Send CR before LF for early console X-Git-Tag: v3.3-rc1~109^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8c2e555b05d6203576e396eba01f17cb2516e66;p=profile%2Fivi%2Fkernel-x86-ivi.git microblaze: Send CR before LF for early console This patch fixes problem with measuring tools. Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/kernel/early_printk.c b/arch/microblaze/kernel/early_printk.c index d26d92d..8356e47 100644 --- a/arch/microblaze/kernel/early_printk.c +++ b/arch/microblaze/kernel/early_printk.c @@ -50,9 +50,9 @@ static void early_printk_uartlite_write(struct console *unused, const char *s, unsigned n) { while (*s && n-- > 0) { - early_printk_uartlite_putc(*s); if (*s == '\n') early_printk_uartlite_putc('\r'); + early_printk_uartlite_putc(*s); s++; } } @@ -94,9 +94,9 @@ static void early_printk_uart16550_write(struct console *unused, const char *s, unsigned n) { while (*s && n-- > 0) { - early_printk_uart16550_putc(*s); if (*s == '\n') early_printk_uart16550_putc('\r'); + early_printk_uart16550_putc(*s); s++; } }