Patch1: Remove the fno-plt from LoongArch CC flags, because it no used.
Patch2: A variable in Fdt16550SerialPortHookLib was not initialized, this has been fixed.
How This Was Tested
Build virt-machine BIOS using OvmfPkg/LoongArchVirt/LoongArchQemu.dsc and run it.
Integration Instructions
<Describe how these changes should be integrated. Use N/A if nothing is required.>
Description
Patch1: Remove the
fno-plt
from LoongArch CC flags, because it no used. Patch2: A variable in Fdt16550SerialPortHookLib was not initialized, this has been fixed.How This Was Tested
Build virt-machine BIOS using OvmfPkg/LoongArchVirt/LoongArchQemu.dsc and run it.
Integration Instructions
<Describe how these changes should be integrated. Use N/A if nothing is required.>