From: "Marcin Wojtas" <mw@semihalf.com>
To: devel@edk2.groups.io
Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, mw@semihalf.com,
jaz@semihalf.com, kostap@marvell.com, upstream@semihalf.com
Subject: [edk2-platforms PATCH 4/4] Marvell/Cn9132Db: Enable ACPI support
Date: Fri, 16 Apr 2021 22:54:14 +0200 [thread overview]
Message-ID: <20210416205414.355203-5-mw@semihalf.com> (raw)
In-Reply-To: <20210416205414.355203-1-mw@semihalf.com>
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>
---
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
next prev parent reply other threads:[~2021-04-16 21:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-16 20:54 [edk2-platforms PATCH 0/4] Marvell misc improvements Marcin Wojtas
2021-04-16 20:54 ` [edk2-platforms PATCH 1/4] Marvell: PlatInitDxe: Use more adequate print during init Marcin Wojtas
2021-04-16 20:54 ` [edk2-platforms PATCH 2/4] Marvell: Armada7k8/OcteonTx: Enhance NIC ACPI description Marcin Wojtas
2021-04-16 20:54 ` [edk2-platforms PATCH 3/4] SolidRun/Armada80x0McBin: Add 2.5G NIC port description in ACPI Marcin Wojtas
2021-04-16 20:54 ` Marcin Wojtas [this message]
2021-04-19 7:50 ` [edk2-platforms PATCH 0/4] Marvell misc improvements Ard Biesheuvel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210416205414.355203-5-mw@semihalf.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox