mbox series

[0/4] some serial rx buffer patches

Message ID 20241003141029.920035-1-ravi@prevas.dk
Headers show
Series some serial rx buffer patches | expand

Message

Rasmus Villemoes Oct. 3, 2024, 2:10 p.m. UTC
Some small improvements to the serial rx buffer feature.

CI seems happy: https://github.com/u-boot/u-boot/pull/674

Rasmus Villemoes (4):
  serial: fix circular rx buffer edge case
  serial: do not overwrite not-consumed characters in rx buffer
  serial: add build-time sanity check of CONFIG_SERIAL_RX_BUFFER_SIZE
  serial: embed the rx buffer in struct serial_dev_priv

 drivers/serial/serial-uclass.c | 23 ++++++++++++-----------
 include/serial.h               |  8 +++++---
 2 files changed, 17 insertions(+), 14 deletions(-)