From nobody Tue Feb 10 01:30:52 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+82350+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+82350+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1634639127; cv=none; d=zohomail.com; s=zohoarc; b=J8SxpLDDm2qfPjiUPOdqcCyWHUuMB4dFK7svA9YLbXKiLM3mz9TFKiBDfZiF8VNYoQAVDNwBOU80Tum3bJAKpM+DtYLRvcx21WQAXiqbxeV6nZr9uppfcokLMe+AS3LMtGlAM9JpMYSM/UWOo2WOkQ6GMARxkbIrXK0qCgK2Zwg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634639127; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=y1+OlxgJVxqgywCFbaieJOU2dSAi8bYB8DuVrGUA5Uc=; b=U8j9IjWWrjmPEnk+Ka1trhlewDEnNhVg74dafZgxWEfkJqe9EIdDGTIYTOs41fnAH9T4nvUbVMKNT9ChY0khomuk0Eo1wTvgQ7z9kk0KSfkIMxT15YHz8zXkagUMQ2B2CJgRxOpvJ4eStrAr0/LhAeZETFCWy3PAqBLWnPUvPYg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+82350+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1634639127523140.62538962591952; Tue, 19 Oct 2021 03:25:27 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id NQ8LYY1788612xcCIUyDwavV; Tue, 19 Oct 2021 03:25:27 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.7745.1634639126238796404 for ; Tue, 19 Oct 2021 03:25:26 -0700 X-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 D2772D6E; Tue, 19 Oct 2021 03:25:25 -0700 (PDT) X-Received: from e120189.arm.com (unknown [10.57.73.233]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4AEF33F70D; Tue, 19 Oct 2021 03:25:24 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io, Sean Brogan , Sami Mujawar , Leif Lindholm Cc: Ard Biesheuvel Subject: [edk2-devel] [RFC PATCH edk2-platforms v1 5/5] Platform/ARM: Resolve ArmCommonPkg library references Date: Tue, 19 Oct 2021 11:25:02 +0100 Message-Id: <20211019102502.3765-6-Pierre.Gondois@arm.com> In-Reply-To: <20211019102502.3765-1-Pierre.Gondois@arm.com> References: <20211019102502.3765-1-Pierre.Gondois@arm.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com X-Gm-Message-State: LhubfAoFvicSqslBMeiXEndbx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1634639127; bh=zYViw5dIGOdRtVfGNyIkM7se51C7x1Tj13ZZJrv6OKc=; h=Cc:Date:From:Reply-To:Subject:To; b=dHGwO7z/BN7rV/GompZVLu027UwHWmSMDFQhSVEQFbw8mDveVuG4P8iJHuG3bQ8nSQt RfOv4KzVaQkO/fJYKPpLY0KMdLZjs8VD07LmnNOr4fR0zerSHfkk+Sqd0bTxGaq1jnx9R f7TWe56dlv3aLOy1NonkCBtKI8xI7ZnqJCY= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1634639127828100012 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Pierre Gondois The Platform/ARM/ARM.dec file implies that the Platform/ARM/ folder is a package. This folder however hosts other packages describing platforms (JunoPkg, SgiPkg, ...) and packages describing drivers (BootMonFs, FdtPlatformDxe). As the Dec specification mention: "EDK II Packages cannot be nested within other EDK II Packages." Also, CI modules are based on packages. Having non-nested packages allows to have distinct entities each CI module must check. To remove the nested structure: 1- Create a Platform/ARM/ArmCommonPkg package containing code shared among platforms. It will contains the following folders: Platform/ARM/[Drivers/ | Include/ | Library/] 2- Remove the BootMonFs and FdtPlatformDxe packages and resolve the broken dependencies to these drivers 3- Resolve the broken dependencies to the libraries from Platform/ARM/Library As part of 3, this patch updates references to the libraries previously in Platform/ARM/Library. Bugzilla: 3259 (https://bugzilla.tianocore.org/show_bug.cgi?id=3D3259) Signed-off-by: Pierre Gondois --- Platform/ARM/JunoPkg/ArmJuno.dsc | 2 +- Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc | 2 +- Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Platform/ARM/JunoPkg/ArmJuno.dsc b/Platform/ARM/JunoPkg/ArmJun= o.dsc index 9548931f6cd7..a3a7bd413249 100644 --- a/Platform/ARM/JunoPkg/ArmJuno.dsc +++ b/Platform/ARM/JunoPkg/ArmJuno.dsc @@ -378,7 +378,7 @@ [Components.common] # Platform/ARM/ArmCommonPkg/Drivers/FdtPlatformDxe/FdtPlatformDxe.inf { - BdsLib|Platform/ARM/Library/BdsLib/BdsLib.inf + BdsLib|Platform/ARM/ArmCommonPkg/Library/BdsLib/BdsLib.inf } =20 # SCMI Driver diff --git a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc b/Platform/A= RM/VExpressPkg/ArmVExpress-CTA15-A7.dsc index 2790e9c41bd4..4090c939a30e 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc +++ b/Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc @@ -283,5 +283,5 @@ [Components.common] # Platform/ARM/ArmCommonPkg/Drivers/FdtPlatformDxe/FdtPlatformDxe.inf { - BdsLib|Platform/ARM/Library/BdsLib/BdsLib.inf + BdsLib|Platform/ARM/ArmCommonPkg/Library/BdsLib/BdsLib.inf } diff --git a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc b/Platform/ARM/VE= xpressPkg/ArmVExpress.dsc.inc index 8704f25b11ec..7ede70106d43 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc +++ b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc @@ -118,7 +118,7 @@ [LibraryClasses.common] =20 # RunAxf support via Dynamic Shell Command protocol # It uses the Shell libraries. - ArmShellCmdRunAxfLib|Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdR= unAxf.inf + ArmShellCmdRunAxfLib|Platform/ARM/ArmCommonPkg/Library/ArmShellCmdRunAxf= /ArmShellCmdRunAxf.inf ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#82350): https://edk2.groups.io/g/devel/message/82350 Mute This Topic: https://groups.io/mt/86436507/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-