From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id E5D7894157F for ; Mon, 10 Jun 2024 09:34:58 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=yRTQ8VYTJwILxL6vlDMWfmHuj0mB0tQCHbU1x4oLQGE=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1718012098; v=1; b=bims+PZ0La+VvJe9jkOGa9BaIKHCn3aRBwdUkZYK7sdT49QZ8QVqjp8BJMqPMgaCIoteiUDp /nX/tgbxUdD+hy1CmwkdMqkPfM5O28cZh0qpqTx1Ced0LLnyO169RkIslxa++uKg+WjvAWaxnSG mgCmQW2k8nKNHesZat1MUIQbjc/sHgp/JDr0t7npomzMjJJLxc0Y+Oj6RFaDaQrWGqYVgMNHiFI Zy6qGxyj8H0+5AZe83l3Vxo4w7onP+/JN+r+BeeAviuieQY3eRa12YEBXARLOm91rrO+JuIthTQ pREUjsbgjA4HOteKSjNqxuDdCkGxfjBekU+F3HvoXFWUw== X-Received: by 127.0.0.2 with SMTP id rwPgYY7687511xj7QlmV83Dn; Mon, 10 Jun 2024 02:34:57 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.15597.1718012092030068464 for ; Mon, 10 Jun 2024 02:34:52 -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 427FF12FC; Mon, 10 Jun 2024 02:35:16 -0700 (PDT) X-Received: from e126645.arm.com (unknown [10.57.69.240]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 355D63F73B; Mon, 10 Jun 2024 02:34:51 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois Subject: [edk2-devel] [platforms/devel-dynamictables-reorg PATCH 14/14] Platform/NXP: Move Pci Config Space info to Arch Common Date: Mon, 10 Jun 2024 11:34:05 +0200 Message-Id: <20240610093405.1980592-15-Pierre.Gondois@arm.com> In-Reply-To: <20240610093405.1980592-1-Pierre.Gondois@arm.com> References: <20240610093405.1980592-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 10 Jun 2024 02:34:52 -0700 Resent-From: pierre.gondois@arm.com Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: GOG7BFV3HDoS1oH6nLdDwrMWx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=bims+PZ0; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io From: Pierre Gondois Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the NXP platforms for the following Arch Common object Id: - EArchCommonObjPciConfigSpaceInfo Signed-off-by: Pierre Gondois --- .../ConfigurationManager.c | 26 +++++++++---------- .../ConfigurationManager.h | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe= /ConfigurationManager.c b/Platform/NXP/ConfigurationManagerPkg/Configurat= ionManagerDxe/ConfigurationManager.c index d1e02cacafa7..dc872c765d88 100644 --- a/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/Config= urationManager.c +++ b/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/Config= urationManager.c @@ -528,6 +528,19 @@ GetArchCommonNameSpaceObject ( ); break; =20 + case EArchCommonObjPciConfigSpaceInfo: + Status =3D HandleCmObjectRefByToken ( + This, + CmObjectId, + PlatformRepo->PciConfigInfo, + sizeof (PlatformRepo->PciConfigInfo), + ARRAY_SIZE (PlatformRepo->PciConfigInfo), + Token, + GetPciConfigInfo, + CmObject + ); + break; + default: { Status =3D EFI_NOT_FOUND; DEBUG (( @@ -673,19 +686,6 @@ GetArmNameSpaceObject ( ); break; =20 - case EArmObjPciConfigSpaceInfo: - Status =3D HandleCmObjectRefByToken ( - This, - CmObjectId, - PlatformRepo->PciConfigInfo, - sizeof (PlatformRepo->PciConfigInfo), - ARRAY_SIZE (PlatformRepo->PciConfigInfo), - Token, - GetPciConfigInfo, - CmObject - ); - break; - default: { Status =3D EFI_NOT_FOUND; DEBUG (( diff --git a/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe= /ConfigurationManager.h b/Platform/NXP/ConfigurationManagerPkg/Configurat= ionManagerDxe/ConfigurationManager.h index 494adbc775da..88a26879f766 100644 --- a/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/Config= urationManager.h +++ b/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/Config= urationManager.h @@ -108,7 +108,7 @@ typedef struct PlatformRepositoryInfo { CM_ARM_GIC_ITS_INFO GicItsInfo; =20 /// PCI configuration space information - CM_ARM_PCI_CONFIG_SPACE_INFO PciConfigInfo[PLAT_PCI_CONFG= _COUNT]; + CM_ARCH_COMMON_PCI_CONFIG_SPACE_INFO PciConfigInfo[PLAT_PCI_CONFG= _COUNT]; =20 /// Serial port information for serial port console redirection port CM_ARCH_COMMON_SERIAL_PORT_INFO SpcrSerialPort; --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119534): https://edk2.groups.io/g/devel/message/119534 Mute This Topic: https://groups.io/mt/106589352/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-