]> git.baikalelectronics.ru Git - uboot.git/commit
Revert "serial: ns16550: Add RX interrupt buffer support"
authorStefan Roese <sr@denx.de>
Wed, 16 Aug 2017 15:37:15 +0000 (17:37 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 24 Aug 2017 03:00:47 +0000 (11:00 +0800)
commit90ca5bd4c0c617e34899b5502fa113b19365285f
tree21e050ca8c5765f6fc0f7c59fbae76299241f0b1
parent220de40d79a884d39a4b8bc472ba1b4d0377ede3
Revert "serial: ns16550: Add RX interrupt buffer support"

This reverts commit 77d5a9450e095d6c791c360915a5d454f36121d6.

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>
drivers/serial/Kconfig
drivers/serial/ns16550.c
include/ns16550.h