]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/serial.h
dfu: Fix up the Kconfig mess
[people/ms/u-boot.git] / include / serial.h
index f4171964ae6ce55d7da35a1ec6bc5b01c8538f95..d87f01082a056f07a05a3161785fc4231318b157 100644 (file)
@@ -148,10 +148,18 @@ struct dm_serial_ops {
 /**
  * struct serial_dev_priv - information about a device used by the uclass
  *
- * @sdev: stdio device attached to this uart
+ * @sdev:      stdio device attached to this uart
+ *
+ * @buf:       Pointer to the RX buffer
+ * @rd_ptr:    Read pointer in the RX buffer
+ * @wr_ptr:    Write pointer in the RX buffer
  */
 struct serial_dev_priv {
        struct stdio_dev *sdev;
+
+       char *buf;
+       int rd_ptr;
+       int wr_ptr;
 };
 
 /* Access the serial operations for a device */