[rtems commit] bsp/motorola_powerpc: Fix bootloader output
Sebastian Huber
sebh at rtems.org
Tue May 7 08:32:23 UTC 2019
Module: rtems
Branch: master
Commit: f4db49a1ab2f0dc53b2cb0d12ce539395befb33f
Changeset: http://git.rtems.org/rtems/commit/?id=f4db49a1ab2f0dc53b2cb0d12ce539395befb33f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue May 7 08:44:33 2019 +0200
bsp/motorola_powerpc: Fix bootloader output
---
bsps/powerpc/motorola_powerpc/console/polled_io.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/bsps/powerpc/motorola_powerpc/console/polled_io.c b/bsps/powerpc/motorola_powerpc/console/polled_io.c
index a77eb83..826957d 100644
--- a/bsps/powerpc/motorola_powerpc/console/polled_io.c
+++ b/bsps/powerpc/motorola_powerpc/console/polled_io.c
@@ -429,6 +429,10 @@ void debug_putc(const char c)
void
debug_putc_onlcr(const char c)
{
+ if (c == '\n') {
+ debug_putc('\r');
+ }
+
debug_putc(c);
}
More information about the vc
mailing list