[edk2-devel] [edk2-platforms][PATCH V1] Platform/Loongson: Add AcpiPlatformLib to fix compile error

xianglai posted 1 patch 8 months, 3 weeks ago
Failed in applying to current master (apply log)
Platform/Loongson/LoongArchQemuPkg/Loongson.dsc | 1 +
1 file changed, 1 insertion(+)
[edk2-devel] [edk2-platforms][PATCH V1] Platform/Loongson: Add AcpiPlatformLib to fix compile error
Posted by xianglai 8 months, 3 weeks ago
Adding a reference to AcpiPlatformLib to the dsc file
as loongarch is used to fix compilation errors.

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Bibo Mao <maobibo@loongson.cn>
Cc: Chao Li <lichao@loongson.cn>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: xianglai li <lixianglai@loongson.cn>
---
 Platform/Loongson/LoongArchQemuPkg/Loongson.dsc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Platform/Loongson/LoongArchQemuPkg/Loongson.dsc b/Platform/Loongson/LoongArchQemuPkg/Loongson.dsc
index 13b27d84b8..00b28cfa50 100644
--- a/Platform/Loongson/LoongArchQemuPkg/Loongson.dsc
+++ b/Platform/Loongson/LoongArchQemuPkg/Loongson.dsc
@@ -271,6 +271,7 @@
   QemuFwCfgLib                     | OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmio.inf
   PciPcdProducerLib                | OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
   PciExpressLib                    | MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
+  AcpiPlatformLib                  | OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
 
 [LibraryClasses.common.UEFI_APPLICATION]
   PcdLib                           | MdePkg/Library/DxePcdLib/DxePcdLib.inf
-- 
2.39.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107681): https://edk2.groups.io/g/devel/message/107681
Mute This Topic: https://groups.io/mt/100659304/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [edk2-platforms][PATCH V1] Platform/Loongson: Add AcpiPlatformLib to fix compile error
Posted by Chao Li 8 months, 3 weeks ago
Reviewed-by: Chao Li <lichao@loongson.cn>


Thanks,
Chao
在 2023/8/10 15:05, xianglai 写道:
> Adding a reference to AcpiPlatformLib to the dsc file
> as loongarch is used to fix compilation errors.
>
> Cc: Ard Biesheuvel<ardb+tianocore@kernel.org>
> Cc: Bibo Mao<maobibo@loongson.cn>
> Cc: Chao Li<lichao@loongson.cn>
> Cc: Leif Lindholm<quic_llindhol@quicinc.com>
> Cc: Liming Gao<gaoliming@byosoft.com.cn>
> Cc: Michael D Kinney<michael.d.kinney@intel.com>
> Signed-off-by: xianglai li<lixianglai@loongson.cn>
> ---
>   Platform/Loongson/LoongArchQemuPkg/Loongson.dsc | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/Platform/Loongson/LoongArchQemuPkg/Loongson.dsc b/Platform/Loongson/LoongArchQemuPkg/Loongson.dsc
> index 13b27d84b8..00b28cfa50 100644
> --- a/Platform/Loongson/LoongArchQemuPkg/Loongson.dsc
> +++ b/Platform/Loongson/LoongArchQemuPkg/Loongson.dsc
> @@ -271,6 +271,7 @@
>     QemuFwCfgLib                     | OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMmio.inf
>     PciPcdProducerLib                | OvmfPkg/Fdt/FdtPciPcdProducerLib/FdtPciPcdProducerLib.inf
>     PciExpressLib                    | MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
> +  AcpiPlatformLib                  | OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
>   
>   [LibraryClasses.common.UEFI_APPLICATION]
>     PcdLib                           | MdePkg/Library/DxePcdLib/DxePcdLib.inf


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107703): https://edk2.groups.io/g/devel/message/107703
Mute This Topic: https://groups.io/mt/100659304/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-