public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Abner Chang" <abner.chang@hpe.com>
To: devel@edk2.groups.io
Cc: abner.chang@hpe.com, Leif Lindholm <leif.lindholm@linaro.org>,
	Gilbert Chen <gilbert.chen@hpe.com>
Subject: [platforms/devel-riscv-v2 PATCHv3 13/13] U500Pkg: Leverage EmbeddedPkg modules
Date: Mon, 23 Sep 2019 11:40:37 +0800	[thread overview]
Message-ID: <1569210037-32285-14-git-send-email-abner.chang@hpe.com> (raw)
In-Reply-To: <1569210037-32285-1-git-send-email-abner.chang@hpe.com>

Use Fdtlib and RealTimeClockDxe from EmbeddedPkg.

Signed-off-by: Abner Chang <abner.chang@hpe.com>

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
---
 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                  = U500
   PLATFORM_GUID                  = 0955581C-2A6A-48F7-8690-9D275AE884F8
   PLATFORM_VERSION               = 0.1
-  DSC_SPECIFICATION              = 0x00010005
+  DSC_SPECIFICATION              = 0x0001001c
   OUTPUT_DIRECTORY               = Build/U500Pkg
   SUPPORTED_ARCHITECTURES        = RISCV64
   BUILD_TARGETS                  = DEBUG|RELEASE
@@ -94,6 +94,7 @@
   CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
   SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf
   UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
+  FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
 
 # RISC-V Platform Library
   RealTimeClockLib|Platform/RiscV/Library/RealTimeClockLibNull/RealTimeClockLibNull.inf
@@ -443,6 +444,7 @@
     <LibraryClasses>
       ResetSystemLib|MdeModulePkg/Library/BaseResetSystemLibNull/BaseResetSystemLibNull.inf
   }
+  EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
 
   #
   # 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
 
   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/SecurityStubDxe.inf
 INF  UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
 INF  MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
 INF  MdeModulePkg/Universal/Metronome/Metronome.inf
+INF  EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
 
 # RISC-V Platform Drivers
 INF  Platform/RiscV/SiFive/U500Pkg/Universal/Dxe/RamFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf
 
 # 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
-- 
2.7.4


  parent reply	other threads:[~2019-09-23  4:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-23  3:40 [platforms/devel-riscv-v2 PATCHv3 00/13] Updates to sync-up with Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 01/13] U500Pkg/OpenSbiPlatformLib: Use Fdtlib in EmbeddedPkg Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 02/13] U500Pkg/Sec: Remove unnecessary PCD reference Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 03/13] U500Pkg/Sec: Add information to header file references Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 04/13] U500Pkg/SerialIoLib: Header file reference change Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 05/13] U500Pkg: Update DEC revision Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 06/13] RiscV :Update INF revision Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 07/13] Silicon/SiFive: Update " Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 08/13] Silicon/SiFive :Update DEC revision Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 09/13] U500Pkg/riscVPlatformTimerLib: Change source code to *.S Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 10/13] RiscV/Sec: " Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 11/13] U500Pkg/SerialIoLib: Add copyrights Abner Chang
2019-09-23  3:40 ` [platforms/devel-riscv-v2 PATCHv3 12/13] RiscV: Update DEC revision Abner Chang
2019-09-23  3:40 ` Abner Chang [this message]
2019-10-03 17:55 ` [edk2-devel] [platforms/devel-riscv-v2 PATCHv3 00/13] Updates to sync-up with Leif Lindholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1569210037-32285-14-git-send-email-abner.chang@hpe.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox