From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::242; helo=mail-wm0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C4186203B8C8A for ; Fri, 27 Apr 2018 04:38:00 -0700 (PDT) Received: by mail-wm0-x242.google.com with SMTP id t11so2135631wmt.0 for ; Fri, 27 Apr 2018 04:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cN4zl5bbvDI3gTfqRqjUGQwqEF2vbJcFHvYOv6XOus8=; b=BCDpHzB58UCFC2gR38nUt0EGUdoJNgT0xlP4ncJ6BInmdORUOSqxlmTX34eV9CqU0i gKaib6nXlvh0GAUcX3ohe3nbAXyhKhWNQDwhdsjzh4TzkQvPtoT49XFRlA8mNDY5o/Js L/M/fKafDI1ak/icBGwvheBHvld64r7jgK3nE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cN4zl5bbvDI3gTfqRqjUGQwqEF2vbJcFHvYOv6XOus8=; b=Cu5mIkgWdjKdoTyI14mMfxEaDa7Zi7ZN4bNTylZRRgHJorOmEPInWirjw6MgdwYloo gmWeBB/oCZ5rhYcAiWBsLY3BlL08xJYJBKMYeWDRh4jTCA8tUd2+dbJBEl3AlPX28u9y XK88Q6yUk3P8OYKPU8MsHbpUbAnCu137okPZBl8/GRdGU81RglAtQ9SkOB18Q5/UdMdh OThse+3Pd48XyOEoCVMQT/8XmAOf2WIQJKVp1430n0ilsjD2S2hFoDu7B/wgB5gXXZub 0gPWd3ZJ/BI4gS0OnNVkKoIAUEKorGvdhJ3mtO8qoALzFY0wgCR+LYDOlppZHo1558Kp K88w== X-Gm-Message-State: ALQs6tAvOyGosyz3NP2Cebr+Z8vKJ6lFFt6GYSlC8tXPbv2y+VT/X4XS LDQkcmNhUAhlO6y2N/1fF2OPT7PJovg= X-Google-Smtp-Source: AB8JxZoA9n9KOmOsE39tqLe/bWyo7Lctt229mP4417Wxh4sb8cRkPlmRKQ3B821Y5o1J2et2aEJPyw== X-Received: by 10.28.133.12 with SMTP id h12mr1311703wmd.136.1524829079060; Fri, 27 Apr 2018 04:37:59 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:3995:5470:200:1aff:fe1b:b328]) by smtp.gmail.com with ESMTPSA id k82sm869167wmf.17.2018.04.27.04.37.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Apr 2018 04:37:58 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, Ard Biesheuvel Date: Fri, 27 Apr 2018 13:37:47 +0200 Message-Id: <20180427113748.21663-5-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427113748.21663-1-ard.biesheuvel@linaro.org> References: <20180427113748.21663-1-ard.biesheuvel@linaro.org> Subject: [PATCH edk2-platforms 4/5] Silicon/SynQuacer/PlatformDxe: depex on gEfiVariableArchProtocolGuid X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2018 11:38:01 -0000 SynQuacer's PlatformDxe uses HII style dynamic PCDs, and so it implicitly depends on the PI variable protocol. This dependency is not made explicit due to the fact that it is platform dependent whether a certain variable is backed by such a dynamic PCD. So add gEfiVariableArchProtocolGuid to PlatformDxe's DEPEX to ensure that it does not attempt to refer to HII style dynamic PCDs before the driver that produces them has been dispatched. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Please refer to this discussion for more details: https://lists.01.org/pipermail/edk2-devel/2018-April/023700.html Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf index 8df3073bf24b..5fa2b7f6071d 100644 --- a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf +++ b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf @@ -84,4 +84,4 @@ [Pcd] gSynQuacerTokenSpaceGuid.PcdPlatformSettings [Depex] - TRUE + gEfiVariableArchProtocolGuid -- 2.17.0