From 0f86fd19f28de76007c5332341ea20a96804d0ec Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Tue, 21 Apr 2015 20:09:15 +0300 Subject: [PATCH] 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 --- drivers/serial/k20UartDrv.c | 4 ++-- drivers/serial/ns16550.c | 4 ++-- drivers/serial/stellarisUartDrv.c | 4 ++-- make/target/kconfig/modules/io.kconf | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/serial/k20UartDrv.c b/drivers/serial/k20UartDrv.c index c4b5d21d61a..416fee79ff4 100644 --- a/drivers/serial/k20UartDrv.c +++ b/drivers/serial/k20UartDrv.c @@ -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 */ diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index 82f72d77238..7df5957fe16 100644 --- a/drivers/serial/ns16550.c +++ b/drivers/serial/ns16550.c @@ -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 */ diff --git a/drivers/serial/stellarisUartDrv.c b/drivers/serial/stellarisUartDrv.c index 0abff32d08a..2b07579ed23 100644 --- a/drivers/serial/stellarisUartDrv.c +++ b/drivers/serial/stellarisUartDrv.c @@ -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 */ diff --git a/make/target/kconfig/modules/io.kconf b/make/target/kconfig/modules/io.kconf index 187eb6d4131..69f5343411c 100644 --- a/make/target/kconfig/modules/io.kconf +++ b/make/target/kconfig/modules/io.kconf @@ -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