From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web09.3717.1641630524513058254 for ; Sat, 08 Jan 2022 00:28:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=AMH7W3gG; 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.143.35, mailfrom: prvs=000704d8ca=abner.chang@hpe.com) Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 2088223l014258; Sat, 8 Jan 2022 08:28:43 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=vbxUY4H1Drt5gx4bnh7iUIYlGh54yABBmdMBL03itBE=; b=AMH7W3gGD78MbWv8WnmQc2lQodBjcCMY41wBTPDpfMrSUnloH9GWZFZQQeVX+SQ1kiFa 55e82Ya1ErLj04bCirg+EzHm00fqC106/sGHscH70XGaEHQwwNaCKDQwUQzLdN+vHflZ H9g+7CzVWqYdVXIjtvoMDS4/XT+7hkyzwy0sAiUeaxvXWpyes7ahbLKeXLwC4kx5aXCj 4VYLjsGj+Djx3Tvz7/jEs6VnVAed7tuNcsGAnJPFL/AOn7GrthXVq4VVHX839MF6XCXJ CfA7q5V9/dbiFb+qFfRYsjKMgqnAhrSDuPc40s9Htvg7/9kEceuOxm6+M6KUMe8VIpm7 Kw== Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3df1kq199s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 08 Jan 2022 08:28:43 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id 0EE8C77; Sat, 8 Jan 2022 08:28:43 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id F41EF3A; Sat, 8 Jan 2022 08:28:41 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Daniel Schaefer , Sunil V L Subject: [PATCH 65/79] RiscVPkg/PlatformPei: Fix the build error Date: Sat, 8 Jan 2022 15:27:23 +0800 Message-Id: <20220108072737.17962-4-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220108072737.17962-1-abner.chang@hpe.com> References: <20220108072737.17962-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: IslGWY0_IN3f6RUYPgvwFZVDBMM2vVKp X-Proofpoint-GUID: IslGWY0_IN3f6RUYPgvwFZVDBMM2vVKp X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-08_03,2022-01-07_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxlogscore=928 clxscore=1015 bulkscore=0 malwarescore=0 suspectscore=0 phishscore=0 mlxscore=0 impostorscore=0 spamscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201080064 Content-Transfer-Encoding: quoted-printable Fix the build error caused by the dependency with edk2-platform code. Signed-off-by: Abner Chang Cc: Daniel Schaefer Cc: Sunil V L --- .../Universal/Pei/PlatformPei/PlatformPei.inf | 3 --- RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.h | 11 +++++++++++ RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.c | 2 -- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/RiscVPlatformPkg/Universal/Pei/PlatformPei/PlatformPei.inf b/R= iscVPlatformPkg/Universal/Pei/PlatformPei/PlatformPei.inf index 4b8e074b16..7a88099150 100644 --- a/RiscVPlatformPkg/Universal/Pei/PlatformPei/PlatformPei.inf +++ b/RiscVPlatformPkg/Universal/Pei/PlatformPei/PlatformPei.inf @@ -37,7 +37,6 @@ =0D [Guids]=0D gEfiMemoryTypeInformationGuid=0D - gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid=0D =0D [LibraryClasses]=0D DebugLib=0D @@ -62,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/RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.h b/RiscVP= latformPkg/Universal/Pei/PlatformPei/Platform.h index c2cdd6d75b..00cf7f9dd7 100644 --- a/RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.h +++ b/RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.h @@ -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/RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.c b/RiscVP= latformPkg/Universal/Pei/PlatformPei/Platform.c index 8586a94b62..1cc64b3e9c 100644 --- a/RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.c +++ b/RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.c @@ -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