summaryrefslogtreecommitdiff
path: root/drivers/serial/atmel_usart.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/atmel_usart.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/atmel_usart.c')
-rw-r--r--drivers/serial/atmel_usart.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/serial/atmel_usart.c b/drivers/serial/atmel_usart.c
index f35b997..f3b146c 100644
--- a/drivers/serial/atmel_usart.c
+++ b/drivers/serial/atmel_usart.c
@@ -17,7 +17,6 @@
*/
#include <common.h>
-#ifdef CONFIG_ATMEL_USART
#include <asm/io.h>
#include <asm/arch/clk.h>
#include <asm/arch/memory-map.h>
@@ -96,5 +95,3 @@ int serial_tstc(void)
{
return (usart3_readl(CSR) & USART3_BIT(RXRDY)) != 0;
}
-
-#endif /* CONFIG_ATMEL_USART */