diff options
author | Nhi Pham <nhi@os.amperecomputing.com> | 2021-01-08 20:41:15 +0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-01-10 01:18:44 +0000 |
commit | 4ea3a6ded844dbeff0a1f1de8830bc9176fa4a7b (patch) | |
tree | 18979d2e7c874ea81e53655d551611b573056ccb /EmbeddedPkg/RealTimeClockRuntimeDxe | |
parent | acabf1b0330897e4e0ac236d8930f2ded1c4ffb8 (diff) | |
download | edk2-4ea3a6ded844dbeff0a1f1de8830bc9176fa4a7b.tar.gz |
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/RealTimeClockRuntimeDxe')
-rw-r--r-- | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf | 2 |
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
|