X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cpu%2Fblackfin%2Fserial.c;h=42534bd9b9c575a8f49d2ef22ebf297bf9317a01;hb=7633903bff432ec7b27905dce7396958553f2be6;hp=0d6f377c058328ca8e875a5a3ee406a1c380c680;hpb=36ea8e9ad1107af12d244bba8c73e85b9f655e45;p=platform%2Fkernel%2Fu-boot.git 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 #include +#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