summaryrefslogtreecommitdiff
path: root/drivers/serial/mcfuart.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-02 23:48:30 +0200
committerWolfgang Denk <wd@denx.de>2008-08-03 02:24:52 +0200
commit81091f58f0c58ecd26c5b05de2ae20ca6cdb521c (patch)
treefc05bf5db93e5a9c1712d24a5efdff94685063c2 /drivers/serial/mcfuart.c
parent4cd7e6528f61ec669755c3754bb4f9779874fab3 (diff)
downloadu-boot-imx-81091f58f0c58ecd26c5b05de2ae20ca6cdb521c.zip
u-boot-imx-81091f58f0c58ecd26c5b05de2ae20ca6cdb521c.tar.gz
u-boot-imx-81091f58f0c58ecd26c5b05de2ae20ca6cdb521c.tar.bz2
drivers/serial: Move conditional compilation to Makefile for CONFIG_* macros
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/serial/mcfuart.c')
-rw-r--r--drivers/serial/mcfuart.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/serial/mcfuart.c b/drivers/serial/mcfuart.c
index 5eb4f45..a1fcd05 100644
--- a/drivers/serial/mcfuart.c
+++ b/drivers/serial/mcfuart.c
@@ -29,8 +29,6 @@
#include <common.h>
-#ifdef CONFIG_MCFUART
-
#include <asm/immap.h>
#include <asm/uart.h>
@@ -130,4 +128,3 @@ void serial_setbrg(void)
uart->ucr = UART_UCR_RX_ENABLED | UART_UCR_TX_ENABLED;
}
-#endif /* CONFIG_MCFUART */