]> git.proxmox.com Git - mirror_edk2.git/commit - EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
EmbeddedPkg/RealTimeClockRuntimeDxe: depend on gEfiVariableArchProtocolGuid
authorNhi Pham <nhi@os.amperecomputing.com>
Fri, 8 Jan 2021 13:41:15 +0000 (20:41 +0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 10 Jan 2021 01:18:44 +0000 (01:18 +0000)
commit4ea3a6ded844dbeff0a1f1de8830bc9176fa4a7b
tree18979d2e7c874ea81e53655d551611b573056ccb
parentacabf1b0330897e4e0ac236d8930f2ded1c4ffb8
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>
EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf