uart: Rename INTERRUPT_DRIVEN configuration option

Rename UART_HOSTDRV_INTERRUPT_DRIVEN option to
UART_INTERRUPT_DRIVEN removing old definition.

Change-Id: Id48288db42e97a1ecbd809e259f33359d5a7c9d7
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2015-04-21 20:09:15 +03:00 committed by Anas Nashif
commit 0f86fd19f2
4 changed files with 8 additions and 8 deletions

View file

@ -165,7 +165,7 @@ unsigned char uart_poll_out(
return outChar; return outChar;
} }
#if CONFIG_UART_HOSTDRV_INTERRUPT_DRIVEN #if CONFIG_UART_INTERRUPT_DRIVEN
/******************************************************************************* /*******************************************************************************
* *
@ -405,4 +405,4 @@ void uart_int_connect(int which, /* UART to which to connect */
irq_enable((unsigned int)uart[which].irq); irq_enable((unsigned int)uart[which].irq);
} }
#endif /* CONFIG_UART_HOSTDRV_INTERRUPT_DRIVEN */ #endif /* CONFIG_UART_INTERRUPT_DRIVEN */

View file

@ -336,7 +336,7 @@ unsigned char uart_poll_out(
return outChar; return outChar;
} }
#if CONFIG_UART_HOSTDRV_INTERRUPT_DRIVEN #if CONFIG_UART_INTERRUPT_DRIVEN
/******************************************************************************* /*******************************************************************************
* *
* uart_fifo_fill - fill FIFO with data * uart_fifo_fill - fill FIFO with data
@ -539,4 +539,4 @@ void uart_int_connect(int which, /* UART to which to connect */
irq_enable((unsigned int)uart[which].irq); irq_enable((unsigned int)uart[which].irq);
} }
#endif /* CONFIG_UART_HOSTDRV_INTERRUPT_DRIVEN */ #endif /* CONFIG_UART_INTERRUPT_DRIVEN */

View file

@ -331,7 +331,7 @@ unsigned char uart_poll_out(int port, unsigned char c)
return c; return c;
} }
#if CONFIG_UART_HOSTDRV_INTERRUPT_DRIVEN #if CONFIG_UART_INTERRUPT_DRIVEN
/******************************************************************************* /*******************************************************************************
* *
@ -597,4 +597,4 @@ void uart_int_connect(int port, /* UART port to connect to */
irq_enable((unsigned int)ports[port].irq); irq_enable((unsigned int)ports[port].irq);
} }
#endif /* CONFIG_UART_HOSTDRV_INTERRUPT_DRIVEN */ #endif /* CONFIG_UART_INTERRUPT_DRIVEN */

View file

@ -52,7 +52,7 @@ config PRINTK
Output is sent immediately, without any mutual exclusion or Output is sent immediately, without any mutual exclusion or
buffering. buffering.
config UART_HOSTDRV_INTERRUPT_DRIVEN config UART_INTERRUPT_DRIVEN
bool bool
prompt "Interrupt driven UART support" prompt "Interrupt driven UART support"
default n default n
@ -63,7 +63,7 @@ config UART_HOSTDRV_INTERRUPT_DRIVEN
config CONSOLE_HANDLER config CONSOLE_HANDLER
bool bool
prompt "Enable console input handler" prompt "Enable console input handler"
select UART_HOSTDRV_INTERRUPT_DRIVEN select UART_INTERRUPT_DRIVEN
default n default n
help help
This option enables console input handler allowing to write simple This option enables console input handler allowing to write simple