diff options
author | Stefan Roese <sr@denx.de> | 2017-08-16 17:37:15 +0200 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-08-24 11:00:47 +0800 |
commit | 7fded0ce0ff68551ceb631f98d60db162e49f80c (patch) | |
tree | 21e050ca8c5765f6fc0f7c59fbae76299241f0b1 /drivers/serial/Kconfig | |
parent | 76e726502ec0230070640e3c4cd3dd930e5bb9e8 (diff) | |
download | u-boot-7fded0ce0ff68551ceb631f98d60db162e49f80c.zip u-boot-7fded0ce0ff68551ceb631f98d60db162e49f80c.tar.gz u-boot-7fded0ce0ff68551ceb631f98d60db162e49f80c.tar.bz2 |
Revert "serial: ns16550: Add RX interrupt buffer support"
This reverts commit 6822cf3ec7c8768b8727573b8f4b2cb3d870b881.
As Bin Meng has tested and pointed out, we don't need the RX interrupt
for the RX buffer support at all. Just reading all available characters
into a buffer is sufficient to solve the problem with the dropped
characters upon long lines pasted into the U-Boot prompt. Since this
RX buffer support can be implemented in a generic way, without any
device specifica (e.g. for the ns16550), I'll post a new patch with
a new serial RX buffer support for DM, which all DM based serial
drivers can use.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r-- | drivers/serial/Kconfig | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index a8e9978..1c2c5d6 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -64,16 +64,6 @@ config DM_SERIAL implements serial_putc() etc. The uclass interface is defined in include/serial.h. -config SERIAL_IRQ_BUFFER - bool "Enable RX interrupt buffer for serial input" - depends on DM_SERIAL - default n - help - Enable RX interrupt buffer support for the serial driver. - This enables pasting longer strings, even when the RX FIFO - of the UART is not big enough (e.g. 16 bytes on the normal - NS16550). - config SPL_DM_SERIAL bool "Enable Driver Model for serial drivers in SPL" depends on DM_SERIAL |