Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: aa980f0e12691a68d51d280bbba015afdab0eb0a
      
https://github.com/tianocore/edk2/commit/aa980f0e12691a68d51d280bbba015afdab0eb0a
  Author: Chris Fernald <[email protected]>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c

  Log Message:
  -----------
  ArmPlatformPkg: PL011SerialPort Empty Rx buffer during init.

When calling to initialize the PL011 Uart, Rx buffer is
not cleared. In a 16550 uart device, during initialization,
the 16550's Fifo control registers would be used to clear
the Rx buffer, but no such register exists on PL011.

Modify the PL011 SerialPortInitialize function
to clear anything that was in the Rx buffer
after initialization is completed. This will prevent
any stale data from being interpreted as valid data.

Signed-off-by: Aaron Pop <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to