tianocore / edk2

EDK II
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II
Other
4.38k stars 2.4k forks source link

OvmfPkg/LoongArchVirt: Optimize the use of serial port libraries #5873

Closed lixianglai closed 3 days ago

lixianglai commented 4 days ago

Because the complex dependency between SerialPortLib and PciExpressLib leads to multiple references to the lib library in the loongarch dsc file, optimizing SerialPortLib now simplifies multiple references to lib in the dsc file.

Cc: Ard Biesheuvel ardb+tianocore@kernel.org Cc: Bibo Mao maobibo@loongson.cn Cc: Chao Li lichao@loongson.cn Cc: Gerd Hoffmann kraxel@redhat.com Cc: Jiewen Yao jiewen.yao@intel.com Cc: Xianglai Li lixianglai@loongson.cn Cc: devel@edk2.groups.io

Description

<_Include a description of the change and why this change was made._> <_For each item, place an "x" in between `[` and `]` if true. Example: `[x]` (you can also check items in GitHub UI)_> <_Create the PR as a Draft PR if it is only created to run CI checks._> <_Delete lines in \<\> tags before creating the PR._> - [ ] Breaking change? - **Breaking change** - Will this cause a break in build or boot behavior? - Examples: Add a new library class or move a module to a different repo. - [ ] Impacts security? - **Security** - Does the change have a direct security impact? - Examples: Crypto algorithm change or buffer overflow fix. - [ ] Includes tests? - **Tests** - Does the change include any explicit test code? - Examples: Unit tests or integration tests. ## How This Was Tested <_Describe the test(s) that were run to verify the changes._> ## Integration Instructions <_Describe how these changes should be integrated. Use N/A if nothing is required._>