summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg
diff options
context:
space:
mode:
authorNhi Pham <nhi@os.amperecomputing.com>2021-01-08 20:41:15 +0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-01-10 01:18:44 +0000
commit4ea3a6ded844dbeff0a1f1de8830bc9176fa4a7b (patch)
tree18979d2e7c874ea81e53655d551611b573056ccb /EmbeddedPkg
parentacabf1b0330897e4e0ac236d8930f2ded1c4ffb8 (diff)
downloadedk2-4ea3a6ded844dbeff0a1f1de8830bc9176fa4a7b.tar.gz
edk2-4ea3a6ded844dbeff0a1f1de8830bc9176fa4a7b.tar.bz2
edk2-4ea3a6ded844dbeff0a1f1de8830bc9176fa4a7b.zip
EmbeddedPkg/RealTimeClockRuntimeDxe: depend on gEfiVariableArchProtocolGuid
The EfiGetVariable() is used in the entry of this module. So, the variable services are required to be ready before they are used. This patch adds the arch protocol gEfiVariableArchProtocolGuid to dependency expression to guarantee that this module will be started once the variable protocol is available. Cc: Leif Lindholm <leif@nuviainc.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Diffstat (limited to 'EmbeddedPkg')
-rw-r--r--EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf2
1 files changed, 1 insertions, 1 deletions
diff --git a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
index fec53c79d3..0a4cd6dae7 100644
--- a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
+++ b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
@@ -38,5 +38,5 @@
gEfiRealTimeClockArchProtocolGuid
[Depex]
- TRUE
+ gEfiVariableArchProtocolGuid