[U-Boot] [PATCH 2/4] serial: serial-uclass: Add generic serial RX buffer support

Bin Meng bmeng.cn at gmail.com
Thu Aug 24 03:17:42 UTC 2017


On Thu, Aug 17, 2017 at 3:11 PM, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Wed, Aug 16, 2017 at 11:37 PM, Stefan Roese <sr at 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 at denx.de>
>> Cc: Simon Glass <sjg at chromium.org>
>> Cc: Bin Meng <bmeng.cn at gmail.com>
>> Cc: Tom Rini <trini at 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 at gmail.com>
>
> Tested on MinnowMax
> Tested-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list