summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/serial.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/serial.c b/common/serial.c
index c0f5a4cf3cb..4f50911f668 100644
--- a/common/serial.c
+++ b/common/serial.c
@@ -123,7 +123,7 @@ void serial_reinit_all (void)
int serial_init (void)
{
DECLARE_GLOBAL_DATA_PTR;
-
+
if (!(gd->flags & GD_FLG_RELOC) || !serial_current) {
struct serial_device *dev = default_serial_console ();
@@ -136,7 +136,7 @@ int serial_init (void)
void serial_setbrg (void)
{
DECLARE_GLOBAL_DATA_PTR;
-
+
if (!(gd->flags & GD_FLG_RELOC) || !serial_current) {
struct serial_device *dev = default_serial_console ();
@@ -150,7 +150,7 @@ void serial_setbrg (void)
int serial_getc (void)
{
DECLARE_GLOBAL_DATA_PTR;
-
+
if (!(gd->flags & GD_FLG_RELOC) || !serial_current) {
struct serial_device *dev = default_serial_console ();
@@ -163,7 +163,7 @@ int serial_getc (void)
int serial_tstc (void)
{
DECLARE_GLOBAL_DATA_PTR;
-
+
if (!(gd->flags & GD_FLG_RELOC) || !serial_current) {
struct serial_device *dev = default_serial_console ();
@@ -176,7 +176,7 @@ int serial_tstc (void)
void serial_putc (const char c)
{
DECLARE_GLOBAL_DATA_PTR;
-
+
if (!(gd->flags & GD_FLG_RELOC) || !serial_current) {
struct serial_device *dev = default_serial_console ();
@@ -190,7 +190,7 @@ void serial_putc (const char c)
void serial_puts (const char *s)
{
DECLARE_GLOBAL_DATA_PTR;
-
+
if (!(gd->flags & GD_FLG_RELOC) || !serial_current) {
struct serial_device *dev = default_serial_console ();