mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge patch series "some serial rx buffer patches"
Rasmus Villemoes <ravi@prevas.dk> says: Some small improvements to the serial rx buffer feature. CI seems happy: https://github.com/u-boot/u-boot/pull/674 Link: https://lore.kernel.org/r/20241003141029.920035-1-ravi@prevas.dk
This commit is contained in:
@@ -298,9 +298,11 @@ struct dm_serial_ops {
|
||||
struct serial_dev_priv {
|
||||
struct stdio_dev *sdev;
|
||||
|
||||
char *buf;
|
||||
int rd_ptr;
|
||||
int wr_ptr;
|
||||
#if CONFIG_IS_ENABLED(SERIAL_RX_BUFFER)
|
||||
char buf[CONFIG_SERIAL_RX_BUFFER_SIZE];
|
||||
uint rd_ptr;
|
||||
uint wr_ptr;
|
||||
#endif
|
||||
};
|
||||
|
||||
/* Access the serial operations for a device */
|
||||
|
||||
Reference in New Issue
Block a user