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 4CA5574004C for ; Mon, 10 Jun 2024 09:34:54 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=KJOVNO5CldV72ZqN8omVhao4if2i+jz8g9ElegbIaaM=; 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=1718012094; v=1; b=MhFWqyK5AUSeNTPkrMedT6QN4lW2HAetlyCXjc5j6Srt3F8Z5XhQNLGt0aQxxjqL/2Fa4OEz y3CpPS+Ly3f/xkFgBiNdbnreqSjpBe9Cmj8lDdSH5ZeTyOwut9eO21ZQb6OAX4N/4iyG8vF/5d9 YupIhtv+CNlBe8wKhZFru1HiJHjiP0E/y0j5lxgfmCI7pS8t19E8fGKgVO6cloJ34Im2LcxMFaB 7s/sI5QfAKq1VXY+ufCUy4LdDt7BLmTgyHkvwBsoleVs1eIJcsECl/WZXYS6uwIhrC87cOx1B2o yFFBr2Xisp2QyT3bisVslWAmntPmMFenN2vy0wKDITeGQ== X-Received: by 127.0.0.2 with SMTP id tXssYY7687511xOhCUuLODdi; Mon, 10 Jun 2024 02:34:52 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.15514.1718012091382998949 for ; Mon, 10 Jun 2024 02:34:51 -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 6DF681688; Mon, 10 Jun 2024 02:35:15 -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 353213F73B; Mon, 10 Jun 2024 02:34:50 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , Pierre Gondois Subject: [edk2-devel] [platforms/devel-dynamictables-reorg PATCH 13/14] Platform/NXP: Move Serial Port info to Arch Common Date: Mon, 10 Jun 2024 11:34:04 +0200 Message-Id: <20240610093405.1980592-14-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:51 -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: nT1XOEjkXhzznfWWhkj491Mtx7686176AA= 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=MhFWqyK5; 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: - EArchCommonObjConsolePortInfo - EArchCommonObjSerialDebugPortInfo Signed-off-by: Pierre Gondois Signed-off-by: Pierre Gondois --- .../ConfigurationManager.c | 20 +++++++++---------- .../ConfigurationManager.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe= /ConfigurationManager.c b/Platform/NXP/ConfigurationManagerPkg/Configurat= ionManagerDxe/ConfigurationManager.c index 6de0c768e880..d1e02cacafa7 100644 --- a/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/Config= urationManager.c +++ b/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/Config= urationManager.c @@ -518,6 +518,16 @@ GetArchCommonNameSpaceObject ( ); break; =20 + case EArchCommonObjConsolePortInfo: + Status =3D HandleCmObject ( + CmObjectId, + &PlatformRepo->SpcrSerialPort, + sizeof (PlatformRepo->SpcrSerialPort), + 1, + CmObject + ); + break; + default: { Status =3D EFI_NOT_FOUND; DEBUG (( @@ -663,16 +673,6 @@ GetArmNameSpaceObject ( ); break; =20 - case EArmObjSerialConsolePortInfo: - Status =3D HandleCmObject ( - CmObjectId, - &PlatformRepo->SpcrSerialPort, - sizeof (PlatformRepo->SpcrSerialPort), - 1, - CmObject - ); - break; - case EArmObjPciConfigSpaceInfo: Status =3D HandleCmObjectRefByToken ( This, diff --git a/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe= /ConfigurationManager.h b/Platform/NXP/ConfigurationManagerPkg/Configurat= ionManagerDxe/ConfigurationManager.h index c276ba048999..494adbc775da 100644 --- a/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/Config= urationManager.h +++ b/Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/Config= urationManager.h @@ -111,7 +111,7 @@ typedef struct PlatformRepositoryInfo { CM_ARM_PCI_CONFIG_SPACE_INFO PciConfigInfo[PLAT_PCI_CONFG= _COUNT]; =20 /// Serial port information for serial port console redirection port - CM_ARM_SERIAL_PORT_INFO SpcrSerialPort; + CM_ARCH_COMMON_SERIAL_PORT_INFO SpcrSerialPort; =20 /// Fsl Board Revision UINT32 FslBoardRevision; --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119533): https://edk2.groups.io/g/devel/message/119533 Mute This Topic: https://groups.io/mt/106589351/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-