diff options
author | Wolfgang Denk <wd@denx.de> | 2009-01-28 21:09:32 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-01-28 21:09:32 +0100 |
commit | ee64d0acc93f4f15850736eafaacdeadd7f12d25 (patch) | |
tree | c3cbea9a94ac333eaaaa0f6d277d5b6c1fe9759c /cpu/blackfin/serial.c | |
parent | 9cda4f104b5313fadc21b75aa781c7a6aaf6ea60 (diff) | |
parent | fe033ad6d0883063fe857237abb9436fab03208c (diff) | |
download | u-boot-imx-ee64d0acc93f4f15850736eafaacdeadd7f12d25.zip u-boot-imx-ee64d0acc93f4f15850736eafaacdeadd7f12d25.tar.gz u-boot-imx-ee64d0acc93f4f15850736eafaacdeadd7f12d25.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'cpu/blackfin/serial.c')
-rw-r--r-- | cpu/blackfin/serial.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/blackfin/serial.c b/cpu/blackfin/serial.c index 0d6f377..42534bd 100644 --- a/cpu/blackfin/serial.c +++ b/cpu/blackfin/serial.c @@ -29,6 +29,8 @@ #include <asm/blackfin.h> #include <asm/mach-common/bits/uart.h> +#ifdef CONFIG_UART_CONSOLE + #if defined(UART_LSR) && (CONFIG_UART_CONSOLE != 0) # error CONFIG_UART_CONSOLE must be 0 on parts with only one UART #endif @@ -170,3 +172,5 @@ void serial_puts(const char *s) while (*s) serial_putc(*s++); } + +#endif |