From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 7173EAC146A for ; Tue, 9 Jan 2024 16:30:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=wje5OdgKywIysCz9Of4gWJ4sh3Dg02figcO7CIRV6pw=; 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:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1704817827; v=1; b=pTbG4gwx8dwi5EEYWw+Xe3m10HG8TEvlW8dwGq0IGwUfZmXIinUeAlMa5kXTrivjZNxSbSP1 ObqvOD0+m03afRLVEvMfFKnamA1ZG3G6jzEP6b2267l8snl2OErwNJ7GytwXqWrYDtkEb+/C4Th UzK41g1i2vuiMiJJjxPY3OLc= X-Received: by 127.0.0.2 with SMTP id 5fTDYY7687511xLwuT0183Ie; Tue, 09 Jan 2024 08:30:27 -0800 X-Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web11.21051.1704817826643761464 for ; Tue, 09 Jan 2024 08:30:26 -0800 X-Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1d54b765414so12560565ad.0 for ; Tue, 09 Jan 2024 08:30:26 -0800 (PST) X-Gm-Message-State: gUjlFDkoIO6QzVoKdOoi6OoGx7686176AA= X-Google-Smtp-Source: AGHT+IHSdqkbOMlHhmLLP5quBQYNuDFeWVl4tGUWGybR8MH5QrOhVNOOjAY5d4mjnA0p6NhinSF9Kg== X-Received: by 2002:a17:903:2344:b0:1d5:4c37:714f with SMTP id c4-20020a170903234400b001d54c37714fmr2550633plh.22.1704817825160; Tue, 09 Jan 2024 08:30:25 -0800 (PST) X-Received: from localhost.localdomain ([106.51.188.200]) by smtp.gmail.com with ESMTPSA id c12-20020a170902b68c00b001d457090851sm1983596pls.289.2024.01.09.08.30.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 08:30:24 -0800 (PST) From: "Sunil V L" To: devel@edk2.groups.io Cc: Sunil V L , Ard Biesheuvel , Leif Lindholm , Pierre Gondois , Sami Mujawar Subject: [edk2-devel] [RFC PATCH v1 10/20] DynamicTablesPkg: FdtHwInfoParserLib: Move ArmLib.h to ArmGicCParser.c Date: Tue, 9 Jan 2024 21:59:34 +0530 Message-Id: <20240109162944.528006-11-sunilvl@ventanamicro.com> In-Reply-To: <20240109162944.528006-1-sunilvl@ventanamicro.com> References: <20240109162944.528006-1-sunilvl@ventanamicro.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 Reply-To: devel@edk2.groups.io,sunilvl@ventanamicro.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=pTbG4gwx; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 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. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Pierre Gondois Cc: Sami Mujawar Signed-off-by: Sunil V L --- .../Library/FdtHwInfoParserLib/FdtHwInfoParserInclude.h | 1 - .../Library/FdtHwInfoParserLib/Arm/Gic/ArmGicCParser.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/DynamicTablesPkg/Library/FdtHwInfoParserLib/FdtHwInfoParserInclude.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 @@ #include #include -#include #include #include diff --git a/DynamicTablesPkg/Library/FdtHwInfoParserLib/Arm/Gic/ArmGicCParser.c b/DynamicTablesPkg/Library/FdtHwInfoParserLib/Arm/Gic/ArmGicCParser.c index e5cf5c776d0f..bd4de8811963 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 **/ +#include #include "FdtHwInfoParser.h" #include "CmObjectDescUtility.h" #include "Arm/Gic/ArmGicCParser.h" -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113472): https://edk2.groups.io/g/devel/message/113472 Mute This Topic: https://groups.io/mt/103622725/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-