
On Thu, Aug 17, 2017 at 3:11 PM, Bin Meng bmeng.cn@gmail.com wrote:
On Wed, Aug 16, 2017 at 11:37 PM, Stefan Roese sr@denx.de wrote:
Pasting longer lines into the U-Boot console prompt sometimes leads to characters missing. One problem here is the small 16-byte FIFO of the legacy NS16550 UART, e.g. on x86 platforms.
This patch now introduces a Kconfig option to enable RX buffer support for all DM based serial drivers. With this option enabled, I was able paste really long lines into the U-Boot console, without any characters missing.
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
drivers/serial/Kconfig | 15 +++++++++++++ drivers/serial/serial-uclass.c | 48 ++++++++++++++++++++++++++++++++++++++++-- include/serial.h | 10 ++++++++- 3 files changed, 70 insertions(+), 3 deletions(-)
Great!
Reviewed-by: Bin Meng bmeng.cn@gmail.com
Tested on MinnowMax Tested-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86, thanks!