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:
parent
139c856403
commit
0f86fd19f2
4 changed files with 8 additions and 8 deletions
|
@ -165,7 +165,7 @@ unsigned char uart_poll_out(
|
|||
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);
|
||||
}
|
||||
#endif /* CONFIG_UART_HOSTDRV_INTERRUPT_DRIVEN */
|
||||
#endif /* CONFIG_UART_INTERRUPT_DRIVEN */
|
||||
|
|
|
@ -336,7 +336,7 @@ unsigned char uart_poll_out(
|
|||
return outChar;
|
||||
}
|
||||
|
||||
#if CONFIG_UART_HOSTDRV_INTERRUPT_DRIVEN
|
||||
#if CONFIG_UART_INTERRUPT_DRIVEN
|
||||
/*******************************************************************************
|
||||
*
|
||||
* 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);
|
||||
}
|
||||
#endif /* CONFIG_UART_HOSTDRV_INTERRUPT_DRIVEN */
|
||||
#endif /* CONFIG_UART_INTERRUPT_DRIVEN */
|
||||
|
|
|
@ -331,7 +331,7 @@ unsigned char uart_poll_out(int port, unsigned char 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);
|
||||
}
|
||||
#endif /* CONFIG_UART_HOSTDRV_INTERRUPT_DRIVEN */
|
||||
#endif /* CONFIG_UART_INTERRUPT_DRIVEN */
|
||||
|
|
|
@ -52,7 +52,7 @@ config PRINTK
|
|||
Output is sent immediately, without any mutual exclusion or
|
||||
buffering.
|
||||
|
||||
config UART_HOSTDRV_INTERRUPT_DRIVEN
|
||||
config UART_INTERRUPT_DRIVEN
|
||||
bool
|
||||
prompt "Interrupt driven UART support"
|
||||
default n
|
||||
|
@ -63,7 +63,7 @@ config UART_HOSTDRV_INTERRUPT_DRIVEN
|
|||
config CONSOLE_HANDLER
|
||||
bool
|
||||
prompt "Enable console input handler"
|
||||
select UART_HOSTDRV_INTERRUPT_DRIVEN
|
||||
select UART_INTERRUPT_DRIVEN
|
||||
default n
|
||||
help
|
||||
This option enables console input handler allowing to write simple
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue