From 1e9c8cba090f7a5e73f15f2dcf6d4a871739fdc9 Mon Sep 17 00:00:00 2001 From: Marcin Wojtas Date: Mon, 16 Apr 2018 07:09:13 +0200 Subject: Marvell/Armada: RealTimeClockLib: Depend on gEfiCpuArchProtocolGuid Recent changes in the EDK2 mainline resulted in breaking RTC functionality of Armada platforms. The RealTimeClockLib instance calls gDS->SetMemorySpaceAttributes() in the LibRtcInitialize() public function. This DXE service depends on the CPU Arch Protocol. Add it to the depex. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas Reviewed-by: Ard Biesheuvel --- .../Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.inf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Silicon/Marvell') diff --git a/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.inf b/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.inf index 2f842e8abf..59c71c431c 100644 --- a/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.inf +++ b/Silicon/Marvell/Armada7k8k/Library/RealTimeClockLib/RealTimeClockLib.inf @@ -25,7 +25,7 @@ FILE_GUID = fa81e889-045b-4c96-9093-742554fd0588 MODULE_TYPE = BASE VERSION_STRING = 1.0 - LIBRARY_CLASS = RealTimeClockLib + LIBRARY_CLASS = RealTimeClockLib|DXE_RUNTIME_DRIVER [Sources.common] RealTimeClockLib.c @@ -50,3 +50,6 @@ [Pcd] gMarvellTokenSpaceGuid.PcdRtcEnabled + +[Depex.common.DXE_RUNTIME_DRIVER] + gEfiCpuArchProtocolGuid -- cgit v1.2.3