From 4ea3a6ded844dbeff0a1f1de8830bc9176fa4a7b Mon Sep 17 00:00:00 2001 From: Nhi Pham Date: Fri, 8 Jan 2021 20:41:15 +0700 Subject: 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 Cc: Ard Biesheuvel Signed-off-by: Nhi Pham Reviewed-by: Laszlo Ersek Reviewed-by: Leif Lindholm --- EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EmbeddedPkg') 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 -- cgit v1.2.3