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.web08.9806.1642758626291681199 for ; Fri, 21 Jan 2022 01:50:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=mXYsdJdI; 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=00207f782d=abner.chang@hpe.com) Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20L8W4KN023419; Fri, 21 Jan 2022 09:50:22 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=mXYsdJdIqvxtmMD+cri5PKdThJ9QO/29KoCvwzlNZszqaotFq5ij4WlvRwIn32RbQPYr k3lmMso1AeFs+QtfQnBXSxQXMArNl1PPH2G3Jtoi6cyQZEPFeCrnI+Brgt8gsAcdWe5W EQr/XgKUaORTnm5h7VKr/tNTw9tPh8NiaHiMkA4mxlgn1HmmVycBLBUF8/+AcVnRuq4O 7RcEp1Evy+pOqu925YxlEwwLCdkWB4XYlCmrncNlBNa/5g5TjpcwFIFBovUzN4i5WDfM 5pBkskvcqzatKjS8PEZHp060LeIcP7u6TMWzVLikJ9Y/xRt1eEIToFRaFWKIpa4oiLe4 0g== Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 3dqrrg91jr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jan 2022 09:50:22 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id 0B0485C; Fri, 21 Jan 2022 09:50:21 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id D041852; Fri, 21 Jan 2022 09:50:20 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Daniel Schaefer , Sunil V L Subject: [edk2-platforms][PATCH 02/14] PlatformPkg/PlatformPei: Fix the build error Date: Fri, 21 Jan 2022 16:48:36 +0800 Message-Id: <20220121084848.7695-3-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220121084848.7695-1-abner.chang@hpe.com> References: <20220121084848.7695-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: yK6mNZHWwUIzrkt8splWBlhOLNFdF86w X-Proofpoint-GUID: yK6mNZHWwUIzrkt8splWBlhOLNFdF86w 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-21_06,2022-01-20_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=999 mlxscore=0 clxscore=1015 malwarescore=0 suspectscore=0 spamscore=0 adultscore=0 bulkscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2201210065 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