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.7278.1634634511479646315 for ; Tue, 19 Oct 2021 02:08:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=BiZoz+td; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0926d272d9=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 SMTP id 19J81swS005268; Tue, 19 Oct 2021 09:08:31 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=tA+A8U611poDWeQLdl90lOtwthhqALlb0X/l/wwkXSE=; b=BiZoz+tdUbGcwrJHE9iVlPobGzFIp02WNS4eXyHrCcmsPUVv3z1NnzeGm8/npkYtWCgp hGUSC7mKSl58AdRXcoGiOxaZixeMEG/kV9wLB2KpR47aOPYWYv7J2eTYUZW+4s6bXJfs 6J0RfKtgUsK7V6VKdtpiPjFs+1v9o09N3rtZBNOc5ZGUpuK5zsCtZSF9t2M9fXdCTk5k jP233YvFeQ1pgUAI+cMSkOhh55wjstXE0BeHd/ovD7tw01ol0+b5tdwL9Hu3j3HMrPc9 rkmabt+sOmhhXhd9Yay4X+Bgg9AqkW6Mc1If+o00SBc62C8ZSwwmaSl7LF62rPXP6W7m bQ== Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0a-002e3701.pphosted.com with ESMTP id 3bs9b3qrww-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Oct 2021 09:08:31 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id 5E6B36B; Tue, 19 Oct 2021 09:08:30 +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 4F96A48; Tue, 19 Oct 2021 09:08:29 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Sunil V L , Daniel Schaefer Subject: [edk2-platforms][PATCH 13/30] Platform/RISC-V: Remove Null instance of OpensbilatformLibNull Date: Tue, 19 Oct 2021 16:09:50 +0800 Message-Id: <20211019081007.31165-14-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211019081007.31165-1-abner.chang@hpe.com> References: <20211019081007.31165-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-GUID: bWDxyvcgjJ7CtoxEdJEYSH4pG9-8F4SV X-Proofpoint-ORIG-GUID: bWDxyvcgjJ7CtoxEdJEYSH4pG9-8F4SV X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-18_07,2021-10-18_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 impostorscore=0 malwarescore=0 adultscore=0 mlxlogscore=999 mlxscore=0 bulkscore=0 spamscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110190056 Content-Transfer-Encoding: quoted-printable Remove Null instance of OpensbilatformLibNull, OpensbilatformLib is the generic one for RsicVPlatformPkg. Cc: Sunil V L Cc: Daniel Schaefer Signed-off-by: Abner Chang --- .../RISC-V/PlatformPkg/RiscVPlatformPkg.dsc | 2 +- .../OpensbiPlatformLibNull.inf | 38 -------------- .../Library/OpensbiPlatformLibNull/Platform.c | 51 ------------------- 3 files changed, 1 insertion(+), 90 deletions(-) delete mode 100644 Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibN= ull/OpensbiPlatformLibNull.inf delete mode 100644 Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibN= ull/Platform.c diff --git a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc b/Platform/RI= SC-V/PlatformPkg/RiscVPlatformPkg.dsc index ec8875be14..93b3cd8de9 100644 --- a/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc +++ b/Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dsc @@ -77,7 +77,7 @@ PlatformBootManagerLib|Platform/RISC-V/PlatformPkg/Library/PlatformBootM= anagerLib/PlatformBootManagerLib.inf=0D =0D [Components.common]=0D - Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/OpensbiPlatfo= rmLibNull.inf=0D + Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLib/OpensbiPlatformLi= b.inf=0D Platform/RISC-V/PlatformPkg/Library/PlatformMemoryTestLibNull/PlatformMe= moryTestLibNull.inf=0D Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/PlatformBootM= anagerLib.inf=0D Platform/RISC-V/PlatformPkg/Library/PlatformUpdateProgressLibNull/Platfo= rmUpdateProgressLibNull.inf=0D diff --git a/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Ope= nsbiPlatformLibNull.inf b/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatfo= rmLibNull/OpensbiPlatformLibNull.inf deleted file mode 100644 index 125a1220bc..0000000000 --- a/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/OpensbiPla= tformLibNull.inf +++ /dev/null @@ -1,38 +0,0 @@ -## @file=0D -# RISC-V OpenSbi Platform NULL Library=0D -#=0D -# Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
=0D -#=0D -# SPDX-License-Identifier: BSD-2-Clause-Patent=0D -#=0D -##=0D -=0D -[Defines]=0D - INF_VERSION =3D 0x0001001b=0D - BASE_NAME =3D RiscVOpensbiPlatformLibNull=0D - FILE_GUID =3D 9424ED54-EBDA-4FB5-8FF6-8291B07BB151= =0D - MODULE_TYPE =3D SEC=0D - VERSION_STRING =3D 1.0=0D - LIBRARY_CLASS =3D RiscVOpensbiPlatformLib=0D -=0D -#=0D -# The following information is for reference only and not required by the = build tools.=0D -#=0D -# VALID_ARCHITECTURES =3D RISCV64=0D -#=0D -=0D -[Sources]=0D - Platform.c=0D -=0D -[Packages]=0D - MdeModulePkg/MdeModulePkg.dec=0D - MdePkg/MdePkg.dec=0D - Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dec=0D -=0D -[LibraryClasses]=0D - BaseLib=0D - BaseMemoryLib=0D - DebugLib=0D - DebugAgentLib=0D -=0D -=0D diff --git a/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Pla= tform.c b/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Platfo= rm.c deleted file mode 100644 index b7e39d19c1..0000000000 --- a/Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLibNull/Platform.c +++ /dev/null @@ -1,51 +0,0 @@ -/*=0D - *=0D - * Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All righ= ts reserved.
=0D - *=0D - * SPDX-License-Identifier: BSD-2-Clause=0D - *=0D - * Copyright (c) 2019 Western Digital Corporation or its affiliates.=0D - *=0D - * Authors:=0D - * Atish Patra =0D - */=0D -=0D -#include =0D -#include =0D -=0D -const struct sbi_platform_operations platform_ops =3D {=0D - .early_init =3D NULL,=0D - .final_init =3D NULL,=0D - .early_exit =3D NULL,=0D - .final_exit =3D NULL,=0D - .domains_root_regions =3D NULL,=0D - .domains_init =3D NULL,=0D - .console_putc =3D NULL,=0D - .console_getc =3D NULL,=0D - .console_init =3D NULL,=0D - .irqchip_init =3D NULL,=0D - .irqchip_exit =3D NULL,=0D - .ipi_send =3D NULL,=0D - .ipi_clear =3D NULL,=0D - .ipi_init =3D NULL,=0D - .ipi_exit =3D NULL,=0D - .get_tlbr_flush_limit =3D NULL,=0D - .timer_value =3D NULL,=0D - .timer_event_stop =3D NULL,=0D - .timer_event_start =3D NULL,=0D - .timer_init =3D NULL,=0D - .timer_exit =3D NULL,=0D - .system_reset_check =3D NULL,=0D - .system_reset =3D NULL,=0D -};=0D -=0D -struct sbi_platform platform =3D {=0D - .opensbi_version =3D OPENSBI_VERSION,=0D - .platform_version =3D SBI_PLATFORM_VERSION(0x0, 0x01),=0D - .name =3D "NULL Platform",=0D - .features =3D 0,=0D - .hart_count =3D 0,=0D - .hart_index2id =3D 0,=0D - .hart_stack_size =3D 0,=0D - .platform_ops_addr =3D 0,=0D -};=0D --=20 2.31.1