Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 6937fc8338935a0fcfcaac08a99b229ba4ed17d6 https://github.com/tianocore/edk2/commit/6937fc8338935a0fcfcaac08a99b229ba4ed17d6 Author: Kavya <k.kavyax.sravan...@intel.com> Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths: M UefiPayloadPkg/Library/BaseSerialPortLibHob/BaseSerialPortLibHob.c Log Message: ----------- UefiPayloadPkg/SerialPortLib: Enhance multi port behaviour Add condition to return success if mUartCount is greater than zero in SerialPortInitialize() to avoid filling mUartInfo with the same hob data when SerialPortInitialize() is called multiple times. Also add proper conditions in SerialPortRead function to read the data properly from multiple UART's. Cc: Guo Dong <guo.d...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: James Lu <james...@intel.com> Reviewed-by: Gua Guo <gua....@intel.com> Signed-off-by: Kavya <k.kavyax.sravan...@intel.com> _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits