On 10/12/2018 11:33 PM, Ard Biesheuvel wrote:
On 12 October 2018 at 17:06, Sami Mujawar <[email protected]> wrote:
Hi Ard,

I believe you are referring to 
MdeModulePkg\Library\BaseSerialPortLib16550\BaseSerialPortLib16550.inf
I have tried using this Serial Port Library. However, this has a dependency on 
PciLib which is difficult to resolve as we use the Serial port early in the 
boot.
Please do let me know if you know a workaround to solve this issue.


Yes. Just keep PcdSerialPciDeviceInfo at its default of 0xff, and the
PCI dependencies in that driver are essentially circumvented, so you
can use any PciLib implementation as a dummy (or create a new one that
ASSERT()s in all functions if you prefer)


Yes I was just about to say so. Actually I plan to retire/remove the SerialIoLib in PcAtChipsetPkg.


--
Thanks,
Ray
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to