[PATCH 0/4] some serial rx buffer patches

Rasmus Villemoes ravi at prevas.dk
Thu Oct 3 16:10:25 CEST 2024


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(-)

-- 
2.46.2



More information about the U-Boot mailing list