diff options
author | wdenk <wdenk> | 2004-03-14 22:25:36 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-03-14 22:25:36 +0000 |
commit | 42dfe7a1844cbad7114038aaf03828acb7a84414 (patch) | |
tree | d33893d34d2a97aa23257703733dbc9d86d48278 /cpu/i386 | |
parent | 855a496fe9ba431772f1ff1aef21a5c001288bb0 (diff) | |
download | u-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.zip u-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.tar.gz u-boot-imx-42dfe7a1844cbad7114038aaf03828acb7a84414.tar.bz2 |
Code cleanup; make several boards compile & link.
Diffstat (limited to 'cpu/i386')
-rw-r--r-- | cpu/i386/serial.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpu/i386/serial.c b/cpu/i386/serial.c index f58b47c..db13008 100644 --- a/cpu/i386/serial.c +++ b/cpu/i386/serial.c @@ -51,7 +51,7 @@ #include <asm/io.h> #include <asm/ibmpc.h> -#if CONFIG_SERIAL_SOFTWARE_FIFO +#ifdef CONFIG_SERIAL_SOFTWARE_FIFO #include <malloc.h> #endif @@ -81,7 +81,7 @@ #define asyncLSRRxFifoError1 0x80 -#if CONFIG_SERIAL_SOFTWARE_FIFO +#ifdef CONFIG_SERIAL_SOFTWARE_FIFO /*-----------------------------------------------------------------------------+ | Fifo +-----------------------------------------------------------------------------*/ @@ -193,7 +193,7 @@ int serial_getc(void) { unsigned char status = 0; -#if CONFIG_SERIAL_SOFTWARE_FIFO +#ifdef CONFIG_SERIAL_SOFTWARE_FIFO if (serial_buffer_active) { return serial_buffered_getc(); } @@ -225,7 +225,7 @@ int serial_tstc(void) { unsigned char status; -#if CONFIG_SERIAL_SOFTWARE_FIFO +#ifdef CONFIG_SERIAL_SOFTWARE_FIFO if (serial_buffer_active) { return serial_buffered_tstc(); } @@ -248,7 +248,7 @@ int serial_tstc(void) } -#if CONFIG_SERIAL_SOFTWARE_FIFO +#ifdef CONFIG_SERIAL_SOFTWARE_FIFO void serial_isr(void *arg) { |