[edk2-devel] [edk2-platforms PATCH 4/4] Marvell/Cn9132Db: Enable ACPI support
Marcin Wojtas
mw at semihalf.com
Fri Apr 16 20:54:14 UTC 2021
Because of the limitation in a number of available intterrupts
that can be mapped in a current version of the IcuLib,
the ACPI support for Cn9132 variant remained disabled.
Such hard limitation is not needed though and enable ACPI
boot, however with a the interfaces present only on the
first two CP115 HW blocks.
Signed-off-by: Marcin Wojtas <mw at semihalf.com>
---
Platform/Marvell/Cn913xDb/Cn913xDbA.dsc | 2 ++
Platform/Marvell/Cn913xDb/Cn913xDbA.fdf.inc | 6 ++++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc b/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc
index 67355f3988..ff91d10142 100644
--- a/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc
+++ b/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc
@@ -54,6 +54,8 @@
!ifndef $(CN9132)
[Components.AARCH64]
Silicon/Marvell/OcteonTx/AcpiTables/T91/$(PLATFORM_NAME).inf
+!else
+ Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn9131DbA.inf
!endif
[LibraryClasses.common]
diff --git a/Platform/Marvell/Cn913xDb/Cn913xDbA.fdf.inc b/Platform/Marvell/Cn913xDb/Cn913xDbA.fdf.inc
index 78bdb79bed..c2fb71fa8c 100644
--- a/Platform/Marvell/Cn913xDb/Cn913xDbA.fdf.inc
+++ b/Platform/Marvell/Cn913xDb/Cn913xDbA.fdf.inc
@@ -12,9 +12,11 @@
# DTB
INF RuleOverride = DTB Silicon/Marvell/OcteonTx/DeviceTree/T91/$(PLATFORM_NAME).inf
-!ifndef $(CN9132)
-!if $(ARCH) == AARCH64
# ACPI support
+!if $(ARCH) == AARCH64
+!ifndef $(CN9132)
INF RuleOverride = ACPITABLE Silicon/Marvell/OcteonTx/AcpiTables/T91/$(PLATFORM_NAME).inf
+!else
+ INF RuleOverride = ACPITABLE Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn9131DbA.inf
!endif
!endif
--
2.29.0
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#74224): https://edk2.groups.io/g/devel/message/74224
Mute This Topic: https://groups.io/mt/82152951/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list