[edk2-devel] [PATCH 65/79] RiscVPkg/PlatformPei: Fix the build error
Sunil V L
sunilvl at ventanamicro.com
Sun Jan 9 14:28:46 UTC 2022
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 <abner.chang at hpe.com>
> Cc: Daniel Schaefer <daniel.schaefer at hpe.com>
> Cc: Sunil V L <sunilvl at ventanamicro.com>
> ---
> .../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 <Ppi/MasterBootMode.h>
> #include <IndustryStandard/Pci22.h>
>
> -#include <SiFiveU5MCCoreplex.h>
> -
> #include "Platform.h"
>
> EFI_MEMORY_TYPE_INFORMATION mDefaultMemoryTypeInformation[] = {
> --
> 2.31.1
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#85439): https://edk2.groups.io/g/devel/message/85439
Mute This Topic: https://groups.io/mt/88279826/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list