diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-02 21:48:30 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-03 00:24:52 (GMT) |
commit | 81091f58f0c58ecd26c5b05de2ae20ca6cdb521c (patch) | |
tree | fc05bf5db93e5a9c1712d24a5efdff94685063c2 /drivers/serial/serial_xuartlite.c | |
parent | 4cd7e6528f61ec669755c3754bb4f9779874fab3 (diff) | |
download | u-boot-81091f58f0c58ecd26c5b05de2ae20ca6cdb521c.tar.xz |
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/serial_xuartlite.c')
-rw-r--r-- | drivers/serial/serial_xuartlite.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/serial/serial_xuartlite.c b/drivers/serial/serial_xuartlite.c index 74546ce..00d0eaa 100644 --- a/drivers/serial/serial_xuartlite.c +++ b/drivers/serial/serial_xuartlite.c @@ -27,8 +27,6 @@ #include <config.h> #include <asm/io.h> -#ifdef CONFIG_XILINX_UARTLITE - #define RX_FIFO_OFFSET 0 /* receive FIFO, read only */ #define TX_FIFO_OFFSET 4 /* transmit FIFO, write only */ #define STATUS_REG_OFFSET 8 /* status register, read only */ @@ -77,5 +75,3 @@ int serial_tstc(void) { return (in_be32((u32 *) UARTLITE_STATUS) & SR_RX_FIFO_VALID_DATA); } - -#endif /* CONFIG_MICROBLZE */ |