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 AE5E2AC1C92 for ; Wed, 19 Jun 2024 22:07:29 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=fjzZOwNFeL3dC9tf/wfWAHYYx8FMkNK3ot4Atf1c468=; 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=1718834849; v=1; b=mJRpRPeVvuelbsq3w6Jg9ZTc+EM+GELQpTs/nN/syHzP3cuUZ6RBE7rdEa34GjoxRFdx4IRz uST2CiAaHoswCaBkfSqPf/FCEK71j+v0SSqyGFGsf3rV2x46xJ+LcJ8QXh0B8HQrTzPDxUsYnYN +8hRJMvq5uMNBDE7zKGWCniKc+TrB/WAQti72nQqLrJ8QK+TuGNsi/FgLXUJ0/KDQPJ2x/NCe2U wKCDcItXMGzzCwi5QvIDZ2e3oCtJPquj2lmNL7TVsK77yuO//2eMlooE76pEnj1HC971BX1s4zH As2fdKSqPX8lmvm8HPk1Ize8N875wXoE9FRpo94EpseiQ== X-Received: by 127.0.0.2 with SMTP id TwwgYY7687511xcvEDqh6ofp; Wed, 19 Jun 2024 15:07:28 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.34064.1718834842772691241 for ; Wed, 19 Jun 2024 15:07:22 -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 2224B1042; Wed, 19 Jun 2024 15:07:47 -0700 (PDT) X-Received: from e126645.home (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 28B433F64C; Wed, 19 Jun 2024 15:07:20 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , AbdulLateef Attar , Girish Mahadevan , Jeff Brasen , Jeshua Smith , Leif Lindholm , Meenakshi Aggarwal , Sami Mujawar , Sunil V L , Yeo Reum Yun Subject: [edk2-devel] [staging/dynamictables-reorg PATCH 13/15] DynamicTablesPkg: FdtHwInfoParserLib: Move ArmLib.h to ArmGicCParser.c Date: Thu, 20 Jun 2024 00:06:27 +0200 Message-Id: <20240619220629.1994362-14-pierre.gondois@arm.com> In-Reply-To: <20240619220629.1994362-1-pierre.gondois@arm.com> References: <20240619220629.1994362-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: Wed, 19 Jun 2024 15:07:22 -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: QSo41NNgGf92EdJl7IAjDT3ax7686176AA= 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=mJRpRPeV; 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 ArmLib.h is required only for building GIC in ARM. So, move it to ARM specific file. Otherwise, FdtHwInfoParserInclude.h being a common header across architectures will have issue on other architectures. Suggested-by: Sunil V L Signed-off-by: Pierre Gondois --- .../Library/FdtHwInfoParserLib/Arm/Gic/ArmGicCParser.c | 1 + .../Library/FdtHwInfoParserLib/FdtHwInfoParserInclude.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/DynamicTablesPkg/Library/FdtHwInfoParserLib/Arm/Gic/ArmGicCPar= ser.c b/DynamicTablesPkg/Library/FdtHwInfoParserLib/Arm/Gic/ArmGicCParser.c index cf577b47242e..395521914671 100644 --- a/DynamicTablesPkg/Library/FdtHwInfoParserLib/Arm/Gic/ArmGicCParser.c +++ b/DynamicTablesPkg/Library/FdtHwInfoParserLib/Arm/Gic/ArmGicCParser.c @@ -11,6 +11,7 @@ - linux/Documentation/devicetree/bindings/arm/pmu.yaml=0D **/=0D =0D +#include =0D #include "FdtHwInfoParser.h"=0D #include "CmObjectDescUtility.h"=0D #include "Arm/Gic/ArmGicCParser.h"=0D diff --git a/DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParserInc= lude.h b/DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParserInclude= .h index 583f290095d9..60f671eccc3f 100644 --- a/DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParserInclude.h +++ b/DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParserInclude.h @@ -10,7 +10,6 @@ =0D #include =0D #include =0D -#include =0D #include =0D #include =0D =0D --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119645): https://edk2.groups.io/g/devel/message/119645 Mute This Topic: https://groups.io/mt/106770181/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-