From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web08.7452.1643883944805311011 for ; Thu, 03 Feb 2022 02:25:45 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: nishant.sharma@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D1A53113E; Thu, 3 Feb 2022 02:25:43 -0800 (PST) Received: from usa.arm.com (unknown [10.57.70.125]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7C5533F40C; Thu, 3 Feb 2022 02:25:42 -0800 (PST) From: nishant.sharma@arm.com To: sami.mujawar@arm.com, devel@edk2.groups.io, leif@nuviainc.com, ardb+tianocore@kernel.org Cc: thomas.abraham@arm.com, vijayenthiran.subramaniam@arm.com, nd@arm.com, Rebecca Cran Subject: [edk2-platforms] [PATCH] Platform/Sgi: Allow builds for AArch64 only Date: Thu, 3 Feb 2022 10:25:40 +0000 Message-Id: <20220203102540.3705-1-nishant.sharma@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The Neoverse reference design platforms support AArch32 execution state only at the EL0 exception level. So allow only the AArch64 builds for these platforms. Signed-off-by: Nishant Sharma Reported-by: Rebecca Cran --- Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc | 4 ++-- Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc | 4 ++-- Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc | 4 ++-- Platform/ARM/SgiPkg/RdN2/RdN2.dsc | 4 ++-- Platform/ARM/SgiPkg/RdV1/RdV1.dsc | 4 ++-- Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc | 4 ++-- Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc b/Platform/ARM/SgiPk= g/RdE1Edge/RdE1Edge.dsc index edd5a49315be..32d67d380814 100644 --- a/Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc +++ b/Platform/ARM/SgiPkg/RdE1Edge/RdE1Edge.dsc @@ -1,5 +1,5 @@ #=0D -# Copyright (c) 2020, ARM Limited. All rights reserved.=0D +# Copyright (c) 2020-2022, ARM Limited. All rights reserved.=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -15,7 +15,7 @@ PLATFORM_VERSION =3D 0.1=0D DSC_SPECIFICATION =3D 0x0001001B=0D OUTPUT_DIRECTORY =3D Build/$(PLATFORM_NAME)=0D - SUPPORTED_ARCHITECTURES =3D AARCH64|ARM=0D + SUPPORTED_ARCHITECTURES =3D AARCH64=0D BUILD_TARGETS =3D NOOPT|DEBUG|RELEASE=0D SKUID_IDENTIFIER =3D DEFAULT=0D FLASH_DEFINITION =3D Platform/ARM/SgiPkg/SgiPlatform.fdf=0D diff --git a/Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc b/Platform/ARM/SgiPk= g/RdN1Edge/RdN1Edge.dsc index 37f0deed6b45..6c9a64df054f 100644 --- a/Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc +++ b/Platform/ARM/SgiPkg/RdN1Edge/RdN1Edge.dsc @@ -1,5 +1,5 @@ #=0D -# Copyright (c) 2020, ARM Limited. All rights reserved.=0D +# Copyright (c) 2020-2022, ARM Limited. All rights reserved.=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -15,7 +15,7 @@ PLATFORM_VERSION =3D 0.1=0D DSC_SPECIFICATION =3D 0x0001001B=0D OUTPUT_DIRECTORY =3D Build/$(PLATFORM_NAME)=0D - SUPPORTED_ARCHITECTURES =3D AARCH64|ARM=0D + SUPPORTED_ARCHITECTURES =3D AARCH64=0D BUILD_TARGETS =3D NOOPT|DEBUG|RELEASE=0D SKUID_IDENTIFIER =3D DEFAULT=0D FLASH_DEFINITION =3D Platform/ARM/SgiPkg/SgiPlatform.fdf=0D diff --git a/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc b/Platform/ARM/S= giPkg/RdN1EdgeX2/RdN1EdgeX2.dsc index 7449c75be4da..10e5bfa29b46 100644 --- a/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc +++ b/Platform/ARM/SgiPkg/RdN1EdgeX2/RdN1EdgeX2.dsc @@ -1,5 +1,5 @@ #=0D -# Copyright (c) 2020, ARM Limited. All rights reserved.=0D +# Copyright (c) 2020-2022, ARM Limited. All rights reserved.=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -15,7 +15,7 @@ PLATFORM_VERSION =3D 0.1=0D DSC_SPECIFICATION =3D 0x0001001B=0D OUTPUT_DIRECTORY =3D Build/$(PLATFORM_NAME)=0D - SUPPORTED_ARCHITECTURES =3D AARCH64|ARM=0D + SUPPORTED_ARCHITECTURES =3D AARCH64=0D BUILD_TARGETS =3D NOOPT|DEBUG|RELEASE=0D SKUID_IDENTIFIER =3D DEFAULT=0D FLASH_DEFINITION =3D Platform/ARM/SgiPkg/SgiPlatform.fdf=0D diff --git a/Platform/ARM/SgiPkg/RdN2/RdN2.dsc b/Platform/ARM/SgiPkg/RdN2/R= dN2.dsc index adce7ee90ff8..49a317a930e0 100644 --- a/Platform/ARM/SgiPkg/RdN2/RdN2.dsc +++ b/Platform/ARM/SgiPkg/RdN2/RdN2.dsc @@ -1,5 +1,5 @@ #=0D -# Copyright (c) 2020, ARM Limited. All rights reserved.=0D +# Copyright (c) 2020-2022, ARM Limited. All rights reserved.=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -15,7 +15,7 @@ PLATFORM_VERSION =3D 0.1=0D DSC_SPECIFICATION =3D 0x0001001B=0D OUTPUT_DIRECTORY =3D Build/$(PLATFORM_NAME)=0D - SUPPORTED_ARCHITECTURES =3D AARCH64|ARM=0D + SUPPORTED_ARCHITECTURES =3D AARCH64=0D BUILD_TARGETS =3D NOOPT|DEBUG|RELEASE=0D SKUID_IDENTIFIER =3D DEFAULT=0D FLASH_DEFINITION =3D Platform/ARM/SgiPkg/SgiPlatform.fdf=0D diff --git a/Platform/ARM/SgiPkg/RdV1/RdV1.dsc b/Platform/ARM/SgiPkg/RdV1/R= dV1.dsc index a878d28df7cb..e75f68fd8a40 100644 --- a/Platform/ARM/SgiPkg/RdV1/RdV1.dsc +++ b/Platform/ARM/SgiPkg/RdV1/RdV1.dsc @@ -1,5 +1,5 @@ #=0D -# Copyright (c) 2020, ARM Limited. All rights reserved.=0D +# Copyright (c) 2020-2022, ARM Limited. All rights reserved.=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -15,7 +15,7 @@ PLATFORM_VERSION =3D 0.1=0D DSC_SPECIFICATION =3D 0x0001001B=0D OUTPUT_DIRECTORY =3D Build/$(PLATFORM_NAME)=0D - SUPPORTED_ARCHITECTURES =3D AARCH64|ARM=0D + SUPPORTED_ARCHITECTURES =3D AARCH64=0D BUILD_TARGETS =3D NOOPT|DEBUG|RELEASE=0D SKUID_IDENTIFIER =3D DEFAULT=0D FLASH_DEFINITION =3D Platform/ARM/SgiPkg/SgiPlatform.fdf=0D diff --git a/Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc b/Platform/ARM/SgiPkg/Rd= V1Mc/RdV1Mc.dsc index 578cb74fa06a..ce014add4165 100644 --- a/Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc +++ b/Platform/ARM/SgiPkg/RdV1Mc/RdV1Mc.dsc @@ -1,5 +1,5 @@ #=0D -# Copyright (c) 2020, ARM Limited. All rights reserved.=0D +# Copyright (c) 2020-2022, ARM Limited. All rights reserved.=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -15,7 +15,7 @@ PLATFORM_VERSION =3D 0.1=0D DSC_SPECIFICATION =3D 0x0001001B=0D OUTPUT_DIRECTORY =3D Build/$(PLATFORM_NAME)=0D - SUPPORTED_ARCHITECTURES =3D AARCH64|ARM=0D + SUPPORTED_ARCHITECTURES =3D AARCH64=0D BUILD_TARGETS =3D NOOPT|DEBUG|RELEASE=0D SKUID_IDENTIFIER =3D DEFAULT=0D FLASH_DEFINITION =3D Platform/ARM/SgiPkg/SgiPlatform.fdf=0D diff --git a/Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc b/Platform/ARM/SgiPkg/Sg= i575/Sgi575.dsc index 50790135a6d4..4da4bc2c54a3 100644 --- a/Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc +++ b/Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc @@ -1,5 +1,5 @@ #=0D -# Copyright (c) 2020, ARM Limited. All rights reserved.=0D +# Copyright (c) 2020-2022, ARM Limited. All rights reserved.=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -15,7 +15,7 @@ PLATFORM_VERSION =3D 0.1=0D DSC_SPECIFICATION =3D 0x0001001B=0D OUTPUT_DIRECTORY =3D Build/$(PLATFORM_NAME)=0D - SUPPORTED_ARCHITECTURES =3D AARCH64|ARM=0D + SUPPORTED_ARCHITECTURES =3D AARCH64=0D BUILD_TARGETS =3D NOOPT|DEBUG|RELEASE=0D SKUID_IDENTIFIER =3D DEFAULT=0D FLASH_DEFINITION =3D Platform/ARM/SgiPkg/SgiPlatform.fdf=0D --=20 2.25.1