summaryrefslogtreecommitdiff
path: root/common/serial.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-10-11 23:10:30 +0000
committerwdenk <wdenk>2004-10-11 23:10:30 +0000
commit8b74bf31fe57edfc502f94e905977304eac943ca (patch)
tree18e1f65a33cf3b6349eb7553c593d4ecce34f1bb /common/serial.c
parent4cfaf55e5cd3d7d21a7f9c48508eb7be0167e638 (diff)
downloadu-boot-imx-8b74bf31fe57edfc502f94e905977304eac943ca.zip
u-boot-imx-8b74bf31fe57edfc502f94e905977304eac943ca.tar.gz
u-boot-imx-8b74bf31fe57edfc502f94e905977304eac943ca.tar.bz2
Cleanup
Diffstat (limited to 'common/serial.c')
-rw-r--r--common/serial.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/serial.c b/common/serial.c
index c0f5a4c..4f50911 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 ();