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>
This commit is contained in:
Nhi Pham 2021-01-08 20:41:15 +07:00 committed by mergify[bot]
parent acabf1b033
commit 4ea3a6ded8
1 changed files with 1 additions and 1 deletions

View File

@ -38,5 +38,5 @@
gEfiRealTimeClockArchProtocolGuid
[Depex]
TRUE
gEfiVariableArchProtocolGuid