瀏覽代碼

Marvell/Cn9132Db: Enable ACPI support

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@semihalf.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Marcin Wojtas 3 年之前
父節點
當前提交
f3fe738fe8
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 2 0
      Platform/Marvell/Cn913xDb/Cn913xDbA.dsc
  2. 4 2
      Platform/Marvell/Cn913xDb/Cn913xDbA.fdf.inc

+ 2 - 0
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]

+ 4 - 2
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