public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Sami Mujawar" <sami.mujawar@arm.com>
To: <devel@edk2.groups.io>
Cc: Sami Mujawar <sami.mujawar@arm.com>, <ardb+tianocore@kernel.org>,
	<leif@nuviainc.com>, <pierre.gondois@arm.com>,
	<Matteo.Carlini@arm.com>, <Akanksha.Jain2@arm.com>,
	<Ben.Adderson@arm.com>, <thomas.abraham@arm.com>, <nd@arm.com>
Subject: [PATCH edk2-platforms v1 04/11] Platform/Socionext/SynQuacerEvalBoard: Disable EbcDxe for AArch32 builds
Date: Wed, 10 Nov 2021 11:01:10 +0000	[thread overview]
Message-ID: <20211110110117.31160-5-sami.mujawar@arm.com> (raw)
In-Reply-To: <20211110110117.31160-1-sami.mujawar@arm.com>

EbcDxe is not supported for AArch32 builds of the firmware.

Therefore, move EbcDxe so that it is included only for AArch64
builds of the firmware.

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
---
 Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 4 +++-
 Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf | 8 +++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc
index 0c88b4e03b9c430e8827c58ebe27870808e07606..fd4cfa82330dfa3b7e4bd83573acdd3afa117d75 100644
--- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc
+++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc
@@ -561,7 +561,6 @@ [Components.common]
   }
   MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
   MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
-  MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
   MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
 
   #
@@ -633,3 +632,6 @@ [Components.common]
   SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf
 
 !include Silicon/Socionext/SynQuacer/Acpi.dsc.inc
+
+[Components.AARCH64]
+  MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf
index b1e0a53e6191a9adad068695e000f1285e2c5acb..91771895245decfdabf5add4c41240ba5ecb59a3 100644
--- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf
+++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf
@@ -140,9 +140,15 @@ [FV.FvMain]
   INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
   INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
   INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
-  INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
   INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
 
+!if $(ARCH) == AARCH64
+  #
+  # EBC
+  #
+  INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
+!endif
+
   #
   # eMMC support
   #
-- 
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'


  parent reply	other threads:[~2021-11-10 11:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10 11:01 [PATCH edk2-platforms v1 00/11] Fix build breaks and update IORT revision macro Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 01/11] Platform/Socionext: Fix build break for SynQuacerEvalBoard Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 02/11] Platform/LeMaker: Fix build break for CelloBoard Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 03/11] Platform/Socionext/SynQuacerEvalBoard: Add missing ArmSoftFloatLib Sami Mujawar
2021-11-10 11:01 ` Sami Mujawar [this message]
2021-11-10 11:01 ` [PATCH edk2-platforms v1 05/11] Platform/ARM: FVP: Update for IORT revision macro renaming Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 06/11] Platform/ARM: Morello: " Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 07/11] Platform/ARM: SGI: " Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 08/11] Silicon/AMD/Styx: " Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 09/11] Silicon/Socionext/SynQuacer: " Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 10/11] Platform/RaspberryPi: " Sami Mujawar
2021-11-10 11:01 ` [PATCH edk2-platforms v1 11/11] Platform/ARM: N1SDP: " Sami Mujawar
2021-11-10 11:33 ` [edk2-devel] [PATCH edk2-platforms v1 00/11] Fix build breaks and update IORT revision macro Ard Biesheuvel
2021-11-10 13:30   ` Sami Mujawar

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=20211110110117.31160-5-sami.mujawar@arm.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