b0269b62d0
If there is DEBUG output during PCI enumeration, it could cause SBL hang due to invalid PCI bar resource. In this case, SBL will force to return 0 for any serial port register read. And it might cause dead loop because of LSR_TXRDY bit polling in SerialPortWrite(). To avoid this potential dead loop, it is required to set LSR_TXRDY bit for LSR_OFFSET register read if the PCI resource is invalid. Signed-off-by: Maurice Ma <maurice.ma@intel.com> |
||
---|---|---|
.. | ||
SerialPortLib.c | ||
SerialPortLib.inf |