summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_sh.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:38 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-13 01:40:38 +0200
commit6c58a030f86829fa4f0d4337cf4b794c41a1823e (patch)
tree52fc9a0ec4b5492d9d46a8078cccd3bc33e96a13 /drivers/serial/serial_sh.c
parentd6e9ee92e890f67594ab150689510df361133ead (diff)
downloadu-boot-imx-6c58a030f86829fa4f0d4337cf4b794c41a1823e.zip
u-boot-imx-6c58a030f86829fa4f0d4337cf4b794c41a1823e.tar.gz
u-boot-imx-6c58a030f86829fa4f0d4337cf4b794c41a1823e.tar.bz2
serial: move CFG_SCIF_CONSOLE to CONFIG_SCIF_CONSOLE
move also conditional compilation to Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/serial/serial_sh.c')
-rw-r--r--drivers/serial/serial_sh.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/serial/serial_sh.c b/drivers/serial/serial_sh.c
index 0801ac4..2b9eeed 100644
--- a/drivers/serial/serial_sh.c
+++ b/drivers/serial/serial_sh.c
@@ -20,8 +20,6 @@
#include <common.h>
#include <asm/processor.h>
-#ifdef CFG_SCIF_CONSOLE
-
#if defined (CONFIG_CONS_SCIF0)
#define SCIF_BASE SCIF0_BASE
#elif defined (CONFIG_CONS_SCIF1)
@@ -215,5 +213,3 @@ int serial_getc(void)
return ch;
}
-
-#endif /* CFG_SCIF_CONSOLE */