From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=iDSFl2PX; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=00215b754f=abner.chang@hpe.com) 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pps0720; bh=ZV6vW3Q22Ce+Wr+PiJEgkVhFVHdARbxtemTVy3+O4OI=; b=iDSFl2PXvqL9Z1SaJu7p6ruFp4mOXVwWITeFaP96oHPi7d2b7/5aTcfxfYbRvUeMSzTt akTWfrpHC2+zhzZhHYq9XiZL5pEgSHDsMjP7VpDFVDWn8XFe3/r/RhsngkEhV5wcIXnX CP8TYSTifSb8aBG1Tn30xegw+TFOOlth95LsQ+Byfm8CfEjBpnESPGkDbBbd0PKf0QGw E0RLS6V3AmsrBXgBPIjnRYfn9n3Paaor2cZnL19EhtiIrCGfMegqDkCBvyLeUQ6ryIu/ oTzedjB03Nm2R7t4VqDBhxzDJnKANsHc8APzcCsXVUvc035RUSl84mGkfx5GYY6k0zOB sA== 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 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) 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-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> X-Mailer: git-send-email 2.31.1 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 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-22_03,2022-01-21_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 adultscore=0 spamscore=0 clxscore=1015 impostorscore=0 phishscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2201220050 Content-Transfer-Encoding: quoted-printable 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 @@ #=0D # This module provides platform specific function to detect boot mode.=0D #=0D -# Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
=0D +# Copyright (c) 2021-2022, Hewlett Packard Enterprise Development LP. All= rights reserved.
=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -32,14 +32,11 @@ MdeModulePkg/MdeModulePkg.dec=0D MdePkg/MdePkg.dec=0D Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dec=0D - Platform/SiFive/U5SeriesPkg/U5SeriesPkg.dec=0D Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dec=0D - Silicon/SiFive/SiFive.dec=0D UefiCpuPkg/UefiCpuPkg.dec=0D =0D [Guids]=0D gEfiMemoryTypeInformationGuid=0D - gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid=0D =0D [LibraryClasses]=0D DebugLib=0D @@ -64,8 +61,6 @@ gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRiscVDxeFvSize=0D gUefiRiscVPlatformPkgTokenSpaceGuid.PcdTemporaryRamBase=0D gUefiRiscVPlatformPkgTokenSpaceGuid.PcdTemporaryRamSize=0D - gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid.PcdNumberofU5Cores=0D - gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid.PcdE5MCSupported=0D =0D [Ppis]=0D gEfiPeiMasterBootModePpiGuid=0D 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=0D Platform PEI module include file.=0D =0D - Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All right= s reserved.
=0D + Copyright (c) 2019-2022, Hewlett Packard Enterprise Development LP. All = rights reserved.
=0D Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
=0D =0D SPDX-License-Identifier: BSD-2-Clause-Patent=0D @@ -83,4 +83,15 @@ InitializeXen ( VOID=0D );=0D =0D +/**=0D + Build processor and platform information for the U5 platform=0D +=0D + @return EFI_SUCCESS Status.=0D +=0D +**/=0D +EFI_STATUS=0D +BuildRiscVSmbiosHobs (=0D + VOID=0D +);=0D +=0D #endif // _PLATFORM_PEI_H_INCLUDED_=0D 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=0D Platform PEI driver=0D =0D - Copyright (c) 2019-2021, Hewlett Packard Enterprise Development LP. All = rights reserved.
=0D + Copyright (c) 2019-2022, Hewlett Packard Enterprise Development LP. All = rights reserved.
=0D Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
=0D Copyright (c) 2011, Andrei Warkentin =0D =0D @@ -30,8 +30,6 @@ #include =0D #include =0D =0D -#include =0D -=0D #include "Platform.h"=0D =0D EFI_MEMORY_TYPE_INFORMATION mDefaultMemoryTypeInformation[] =3D {=0D --=20 2.31.1