From nobody Mon Feb 9 11:31:46 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+47800+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+47800+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1569211900; cv=none; d=zoho.com; s=zohoarc; b=WMU+C61Bhk2SSg73HEiEbeojvXKVd8XoUZuKFX4JWXuvk6pDVT59qN3b+avSmcTEoIyChkrcL6uQXYuGLTpq+m4kBHdiX7XLufu7uT2BBYEBEcn4B7vM8GxLn0lA9CqEbJLowdWlULX5BcJ081FhkcBYHEB6jwsePqXTpulsW+A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1569211900; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=gg0RHzuAUiJ7gO/OuiBb02tqAWoQSrb86O7jgP9OnSE=; b=jIViJlkGwf84SSRm8E/8cHSZgCcQNNMvtlyUXWc7RVo7GlS4PSHeCPDrDnyiRgRovdBLLiLSc6JGfsU1DBQs4gldWB7eytZCgIJnx8aZ2Zb4ucvv/s5w6UpkgH2l0z3WAoaKKnW6HkaKIZH/xFfnWU7xc/QxgVoNgW/fvXCIGDM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+47800+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1569211900691799.1212702571028; Sun, 22 Sep 2019 21:11:40 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id nNgXYY1788612xQ218ZbRdXI; Sun, 22 Sep 2019 21:11:40 -0700 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by groups.io with SMTP; Sun, 22 Sep 2019 21:11:39 -0700 X-Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x8N4Ar6R026983; Mon, 23 Sep 2019 04:11:39 GMT X-Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0a-002e3701.pphosted.com with ESMTP id 2v5adnnc1y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 23 Sep 2019 04:11:39 +0000 X-Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id 909ED58; Mon, 23 Sep 2019 04:11:38 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.44]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id 2EFCD45; Mon, 23 Sep 2019 04:11:36 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Leif Lindholm , Gilbert Chen Subject: [edk2-devel] [platforms/devel-riscv-v2 PATCHv3 13/13] U500Pkg: Leverage EmbeddedPkg modules Date: Mon, 23 Sep 2019 11:40:37 +0800 Message-Id: <1569210037-32285-14-git-send-email-abner.chang@hpe.com> In-Reply-To: <1569210037-32285-1-git-send-email-abner.chang@hpe.com> References: <1569210037-32285-1-git-send-email-abner.chang@hpe.com> X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,abner.chang@hpe.com X-Gm-Message-State: zBi7trCjDbiXxQOpSdkQvft8x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1569211900; bh=zRnO5XWYwmfLbSNKXPVIETMndYWta7aIfmbuIsG/Ko4=; h=Cc:Date:From:Reply-To:Subject:To; b=Uq5o/YXf/S2L/0qvR2qkRhSA1v+sKujtFQqpMLieDJJXViUX4MLH4aRE+rvTXjXjGmn lEoipJhFF1r5Il6pB9oIOOscPIcpGzwH/sdUVtbaHuyOofc2WZRsDQiP8kj7z2/AwCfZj LbUsUDC/s/GBHXjd1Vy/c+eq0wDHqlKATac= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Use Fdtlib and RealTimeClockDxe from EmbeddedPkg. Signed-off-by: Abner Chang Cc: Leif Lindholm Cc: Gilbert Chen --- Platform/RiscV/SiFive/U500Pkg/U500.dsc | 5 +++-- Platform/RiscV/SiFive/U500Pkg/U500.fdf | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Platform/RiscV/SiFive/U500Pkg/U500.dsc b/Platform/RiscV/SiFive= /U500Pkg/U500.dsc index edcd951..4355db4 100644 --- a/Platform/RiscV/SiFive/U500Pkg/U500.dsc +++ b/Platform/RiscV/SiFive/U500Pkg/U500.dsc @@ -16,7 +16,7 @@ PLATFORM_NAME =3D U500 PLATFORM_GUID =3D 0955581C-2A6A-48F7-8690-9D275AE884F8 PLATFORM_VERSION =3D 0.1 - DSC_SPECIFICATION =3D 0x00010005 + DSC_SPECIFICATION =3D 0x0001001c OUTPUT_DIRECTORY =3D Build/U500Pkg SUPPORTED_ARCHITECTURES =3D RISCV64 BUILD_TARGETS =3D DEBUG|RELEASE @@ -94,6 +94,7 @@ CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/Customize= dDisplayLib.inf SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManag= erLib.inf + FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf =20 # RISC-V Platform Library RealTimeClockLib|Platform/RiscV/Library/RealTimeClockLibNull/RealTimeClo= ckLibNull.inf @@ -443,6 +444,7 @@ ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseReset= SystemLibNull.inf } + EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf =20 # # RISC-V Platform module @@ -454,7 +456,6 @@ # RISC-V Core module # RiscVPkg/Universal/CpuDxe/CpuDxe.inf - RiscVPkg/Universal/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.inf =20 MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf diff --git a/Platform/RiscV/SiFive/U500Pkg/U500.fdf b/Platform/RiscV/SiFive= /U500Pkg/U500.fdf index 5ca84be..cbf41d0 100644 --- a/Platform/RiscV/SiFive/U500Pkg/U500.fdf +++ b/Platform/RiscV/SiFive/U500Pkg/U500.fdf @@ -143,12 +143,12 @@ INF MdeModulePkg/Universal/SecurityStubDxe/SecurityS= tubDxe.inf INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf INF MdeModulePkg/Universal/Metronome/Metronome.inf +INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf =20 # RISC-V Platform Drivers INF Platform/RiscV/SiFive/U500Pkg/Universal/Dxe/RamFvbServicesRuntimeDxe/= FvbServicesRuntimeDxe.inf =20 # RISC-V Core Drivers -INF RiscVPkg/Universal/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf INF Platform/RiscV/SiFive/U500Pkg/Universal/Dxe/TimerDxe/TimerDxe.inf INF RiscVPkg/Universal/CpuDxe/CpuDxe.inf INF RiscVPkg/Universal/SmbiosDxe/RiscVSmbiosDxe.inf --=20 2.7.4 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#47800): https://edk2.groups.io/g/devel/message/47800 Mute This Topic: https://groups.io/mt/34260852/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-