From nobody Mon Feb 9 00:42:42 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+85947+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+85947+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1642838095; cv=none; d=zohomail.com; s=zohoarc; b=aPUe4vDGoUbFRWunc286OOd4Y/9sJKl3nOWKNgO8duTwT7P3e79LhcHFNg0AjJEy9+hYL5VQRwwG2LEiLzCQdE/gTQPHRhjUX+usphx8NOTthjPqwCbTOK8KQy+lgqnI+0zgr7DZgmkqQeIQAL/Yjx/awzo2xRNhLVJEu6t9aGA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642838095; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=PimlNx87gw6CM1pP2N9djCsTGWTx3SxdZsR7va5jQhA=; b=WA2ECHh9Y7vyRdF96nBM76pZfo8OD1JO9L5UpYGpQxNcJLszJWraE6S1CNEP6fVk6t5E8bdFcilC61KkpwEOMWB9T/ygEfZhvt832pBVyzlSo0yh/Qxc+NthgXifZ0mlBFRWnX6hcWhYUy7YsLGDRL54QH2EviVAhsx1cRuRo4s= 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+85947+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 1642838095808420.9914474978576; Fri, 21 Jan 2022 23:54:55 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 0K4pYY1788612xuahV3xQC6E; Fri, 21 Jan 2022 23:54:55 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web12.6093.1642838094723582905 for ; Fri, 21 Jan 2022 23:54:54 -0800 X-Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20M4gYbg022456; Sat, 22 Jan 2022 07:54:54 GMT X-Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 3drb4n0r9m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 22 Jan 2022 07:54:54 +0000 X-Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g4t3427.houston.hpe.com (Postfix) with ESMTP id 88B536A; Sat, 22 Jan 2022 07:54:53 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id 76EA047; Sat, 22 Jan 2022 07:54:52 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Daniel Schaefer , Sunil V L Subject: [edk2-devel] [edk2-platforms][PATCH V2 02/14] PlatformPkg/PlatformPei: Fix the build error Date: Sat, 22 Jan 2022 14:53:06 +0800 Message-Id: <20220122065318.21808-3-abner.chang@hpe.com> In-Reply-To: <20220122065318.21808-1-abner.chang@hpe.com> References: <20220122065318.21808-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-GUID: fbtdFsg-VrtWxRiVdzhmoSyvessLBF_x X-Proofpoint-ORIG-GUID: fbtdFsg-VrtWxRiVdzhmoSyvessLBF_x X-HPE-SCL: -1 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,abner.chang@hpe.com X-Gm-Message-State: SDfxLf9QFzd11pJmQsCOFHsBx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1642838095; bh=LOp0YZ6MsyQbUYDVWt1xh5wfYsHqrzFB/MAtylHe+MY=; h=Cc:Date:From:Reply-To:Subject:To; b=syQzxzZc0T0VX2dOo13YyIvPOe+F7vfqp0EEni0+xMbLNJMe+nisuaw5HNKRvI2Nuzf N+Nfx4fr8cxMdcnA6uUsIGgty9AH/472AEM9T/EdfjsKzhck1waAPL1ZJ4I/Q4kYfxkzm kYYrhbl+bYyO8uCPq4CPIIMScaq3WCN/imw= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1642838097107100009 Content-Type: text/plain; charset="utf-8" Fix the build error caused by the dependency with SiFive silicon code. Signed-off-by: Abner Chang Cc: Daniel Schaefer Cc: Sunil V L --- .../Universal/Pei/PlatformPei/PlatformPei.inf | 7 +------ .../Universal/Pei/PlatformPei/Platform.h | 13 ++++++++++++- .../Universal/Pei/PlatformPei/Platform.c | 4 +--- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/Platform= Pei.inf b/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/PlatformPei= .inf index 0db88abba4..6368a49927 100644 --- a/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/PlatformPei.inf +++ b/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/PlatformPei.inf @@ -3,7 +3,7 @@ # # This module provides platform specific function to detect boot mode. # -# Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
+# Copyright (c) 2021-2022, Hewlett Packard Enterprise Development LP. All= rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -32,14 +32,11 @@ MdeModulePkg/MdeModulePkg.dec MdePkg/MdePkg.dec Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dec - Platform/SiFive/U5SeriesPkg/U5SeriesPkg.dec Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dec - Silicon/SiFive/SiFive.dec UefiCpuPkg/UefiCpuPkg.dec =20 [Guids] gEfiMemoryTypeInformationGuid - gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid =20 [LibraryClasses] DebugLib @@ -64,8 +61,6 @@ gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRiscVDxeFvSize gUefiRiscVPlatformPkgTokenSpaceGuid.PcdTemporaryRamBase gUefiRiscVPlatformPkgTokenSpaceGuid.PcdTemporaryRamSize - gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid.PcdNumberofU5Cores - gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid.PcdE5MCSupported =20 [Ppis] gEfiPeiMasterBootModePpiGuid diff --git a/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/Platform= .h b/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/Platform.h index c2cdd6d75b..1b6cb4f870 100644 --- a/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/Platform.h +++ b/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/Platform.h @@ -1,7 +1,7 @@ /** @file Platform PEI module include file. =20 - Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All right= s reserved.
+ Copyright (c) 2019-2022, Hewlett Packard Enterprise Development LP. All = rights reserved.
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent @@ -83,4 +83,15 @@ InitializeXen ( VOID ); =20 +/** + Build processor and platform information for the U5 platform + + @return EFI_SUCCESS Status. + +**/ +EFI_STATUS +BuildRiscVSmbiosHobs ( + VOID +); + #endif // _PLATFORM_PEI_H_INCLUDED_ diff --git a/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/Platform= .c b/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/Platform.c index 8586a94b62..6deeb19655 100644 --- a/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/Platform.c +++ b/Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/Platform.c @@ -1,7 +1,7 @@ /**@file Platform PEI driver =20 - Copyright (c) 2019-2021, Hewlett Packard Enterprise Development LP. All = rights reserved.
+ Copyright (c) 2019-2022, Hewlett Packard Enterprise Development LP. All = rights reserved.
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
Copyright (c) 2011, Andrei Warkentin =20 @@ -30,8 +30,6 @@ #include #include =20 -#include - #include "Platform.h" =20 EFI_MEMORY_TYPE_INFORMATION mDefaultMemoryTypeInformation[] =3D { --=20 2.31.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 (#85947): https://edk2.groups.io/g/devel/message/85947 Mute This Topic: https://groups.io/mt/88601618/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-