From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by mx.groups.io with SMTP id smtpd.web10.18362.1641738532215941352 for ; Sun, 09 Jan 2022 06:28:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ventanamicro.com header.s=google header.b=NRpfVIKe; spf=pass (domain: ventanamicro.com, ip: 209.85.214.169, mailfrom: sunilvl@ventanamicro.com) Received: by mail-pl1-f169.google.com with SMTP id e19so3250773plc.10 for ; Sun, 09 Jan 2022 06:28:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Pyy51g/rBbnrd71OjvUi0BysQiCYq7l28pCNYjWQkCM=; b=NRpfVIKer7A3X5osd/rF7OxVTx9hlUjxD1KZ4UKGFyx0c95EZ/69RMCxAq1r/GPZcu RVhkZqmXWz3c+AngsZP6JhTLIxyBQM011TkBWGMgA8usThiQf0gqWQ131tec+MDws4FH WDfb6wXQXx8t/yqk6mamDG7HzUBoyb1Hd2YjGSU45rlXC6iEqP4uJ940/s3conW01Dxx 8s5ZTMqPQxDZav9RzLu3CEFxclVQTdwWccJMDebiBYoucDjY/YSikhzyx57WDg84pHc8 MoHIf7rCOC7ZZ9obbGWzNgwxNDchJ+8LJ/WIJ0xg7HWhFVLzNAqd0wCPiIG2THaSPwmj d0LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Pyy51g/rBbnrd71OjvUi0BysQiCYq7l28pCNYjWQkCM=; b=pzzulIO9kYqXFxH7NwlAHp9gmw+acFP2uEo2T4PUb8inNkiGKB/R8ahEAfhotqZrUQ tVhjrsq26VxYJvf63DpEGU/IYcc2cKUXlsoLtMETJRVS8WarFHtcS3il8kScSqxbQXMe qnnLGOqyo8dLu/W3vlHPU0zI3ylCJIkMq+A/RSkafW7iyJxeT+RueTvzaKL3Xkel3H9M 41SiXzMSfwLgSBWt1RXFN9xF1grMNyuxxQ862UrzSAPgJYHcOvMQa72ScP31J9uOl89n 7+2t3z42PPz+pGA7OevnTo2idjHMGM1CQvHm5GjSM0VQ3EkMj6KIfeYPWifhtozLBp5T umXg== X-Gm-Message-State: AOAM531h4oNIjV6RrBAnBGund3pyEo84YLA462wF5sDLkbcClbZq6MLS Sw3bQ3K6AwPqNr1RlovyyM7Pxw== X-Google-Smtp-Source: ABdhPJzDUDI4Eq7dCabsGkFHCLJV2Vk6Int+TKB32ojCQNybveXNCWetCbc3+AdethZbXjZXmAkALA== X-Received: by 2002:a17:90b:4d8c:: with SMTP id oj12mr26071528pjb.11.1641738531736; Sun, 09 Jan 2022 06:28:51 -0800 (PST) Return-Path: Received: from sunil-ThinkPad-T490 ([49.206.3.187]) by smtp.gmail.com with ESMTPSA id e11sm5762863pjh.14.2022.01.09.06.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jan 2022 06:28:51 -0800 (PST) Date: Sun, 9 Jan 2022 19:58:46 +0530 From: "Sunil V L" To: Abner Chang Cc: devel@edk2.groups.io, Daniel Schaefer Subject: Re: [PATCH 65/79] RiscVPkg/PlatformPei: Fix the build error Message-ID: <20220109142846.GB4879@sunil-ThinkPad-T490> References: <20220108041420.16064-1-abner.chang@hpe.com> <20220108041420.16064-4-abner.chang@hpe.com> MIME-Version: 1.0 In-Reply-To: <20220108041420.16064-4-abner.chang@hpe.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jan 08, 2022 at 12:14:06PM +0800, Abner Chang wrote: > 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/RiscVPlatformPkg/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 @@ > > [Guids] > gEfiMemoryTypeInformationGuid > - gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid > > [LibraryClasses] > DebugLib > @@ -62,8 +61,6 @@ > gUefiRiscVPlatformPkgTokenSpaceGuid.PcdRiscVDxeFvSize > gUefiRiscVPlatformPkgTokenSpaceGuid.PcdTemporaryRamBase > gUefiRiscVPlatformPkgTokenSpaceGuid.PcdTemporaryRamSize > - gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid.PcdNumberofU5Cores > - gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid.PcdE5MCSupported > > [Ppis] > gEfiPeiMasterBootModePpiGuid > diff --git a/RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.h b/RiscVPlatformPkg/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 > ); > > +/** > + Build processor and platform information for the U5 platform Update the comment to remove U5? Regards Sunil > + > + @return EFI_SUCCESS Status. > + > +**/ > +EFI_STATUS > +BuildRiscVSmbiosHobs ( > + VOID > +); > + > #endif // _PLATFORM_PEI_H_INCLUDED_ > diff --git a/RiscVPlatformPkg/Universal/Pei/PlatformPei/Platform.c b/RiscVPlatformPkg/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 > #include > > -#include > - > #include "Platform.h" > > EFI_MEMORY_TYPE_INFORMATION mDefaultMemoryTypeInformation[] = { > -- > 2.31.1 >