summaryrefslogtreecommitdiff
path: root/drivers/serial/Kconfig
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2017-08-16 18:37:15 +0300
committerBin Meng <bmeng.cn@gmail.com>2017-08-24 06:00:47 +0300
commit7fded0ce0ff68551ceb631f98d60db162e49f80c (patch)
tree21e050ca8c5765f6fc0f7c59fbae76299241f0b1 /drivers/serial/Kconfig
parent76e726502ec0230070640e3c4cd3dd930e5bb9e8 (diff)
downloadu-boot-7fded0ce0ff68551ceb631f98d60db162e49f80c.tar.xz
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/Kconfig10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index a8e997834a..1c2c5d66e1 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