From nobody Thu May 2 09:17:02 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1527757320915838.935657069044; Thu, 31 May 2018 02:02:00 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 6F6B72098C206; Thu, 31 May 2018 02:01:59 -0700 (PDT) Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (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 717EC2097DD0C for ; Thu, 31 May 2018 02:01:57 -0700 (PDT) Received: by mail-wr0-x241.google.com with SMTP id v13-v6so20509094wrp.13 for ; Thu, 31 May 2018 02:01:57 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:3995:5470:200:1aff:fe1b:b328]) by smtp.gmail.com with ESMTPSA id y18-v6sm10970355wrl.53.2018.05.31.02.01.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 02:01:54 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::241; helo=mail-wr0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=hDmmriyBN2BRpfl4GB6vXS7HQ1UqIckKlVHC2HX2ApQ=; b=bVEKdN1H0K+atYoGG93BUhqPzEJh6dXxbjkQoMWcFPdBrxAtHH9iXd3AbgFRWC/SXB rcshtxW2k9xrv+3Ripa6qVjZAJwtcWtz/N5el65mTtz2JPWpPxl4qVaDmzI5m2MzyY2c Lg/EYZli627SO5PDmvC4JKra+/WgXOFJ+3aIc= 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; bh=hDmmriyBN2BRpfl4GB6vXS7HQ1UqIckKlVHC2HX2ApQ=; b=r99uWTPLP/uFSDVM2dAdx/mOn8vaypuetZnyQNEt5h6+D9Uqa8uL2gvOaQvSP+i0/0 pglkeiHi1HHVbhmhvYUVyPwkX1+c5iQPjNwxYFJM3BRKFvUMLJloNStEltA6bS5Nk/bi XLyMXus27gIKfIzLB/PLwH1C5goiXk42WSUiR+qhsmBgNtPQWSdEHro2TYp0htCU5DbP m+k5/j96yrXekkwm4ighVk1WHnHw9zAfLfygkeJBr0eMMvVEx3i+JdxgUCsMx6o65ANV Y8Vzr7her2H/INbvDEAJMUpTPRxvtMIrgqTQtOp/HWXlB7t9mX82JVQIkg1z+PV8pFTu 3kJg== X-Gm-Message-State: ALKqPweY9PMmRfkInJAVq3OtonuGujrQjiE0IechIUfFru+6eR/l6T3t 1LX9QdHC9uiVZPiG3515eUsnIWrb8Gs= X-Google-Smtp-Source: ADUXVKIsMK1kEba9V1wgsiCaB+AQY9ZulBz0i0LvCIR+3GrSuvepzUjXcQH6e84CbuY6XjtCKyXh6Q== X-Received: by 2002:adf:9950:: with SMTP id x74-v6mr4438750wrb.135.1527757315283; Thu, 31 May 2018 02:01:55 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 31 May 2018 11:01:49 +0200 Message-Id: <20180531090149.29202-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 Subject: [edk2] [PATCH] SignedCapsulePkg: add PcdLowestSupportedFirmwareVersion 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: , Cc: Jiewen Yao , star.zeng@Intel.com, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Add a PCD that holds the lowest supported version number, so that we can allow the platform to configure this at build time. Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Reviewed-by: Jiewen.yao@intel.com --- As discussed a while ago: https://lists.01.org/pipermail/edk2-devel/2018-March/022914.html SignedCapsulePkg/SignedCapsulePkg.dec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SignedCapsulePkg/SignedCapsulePkg.dec b/SignedCapsulePkg/Signe= dCapsulePkg.dec index b27e87409b19..f06e07656de9 100644 --- a/SignedCapsulePkg/SignedCapsulePkg.dec +++ b/SignedCapsulePkg/SignedCapsulePkg.dec @@ -52,6 +52,10 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, P= cdsDynamicEx] # @Prompt GUID of the FFS which contains the Pkcs7TestPublicKeyFile. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiPkcs7TestPublicKeyFileGuid|{0= xba, 0xf5, 0x93, 0xf0, 0x37, 0x6f, 0x16, 0x48, 0x9e, 0x52, 0x91, 0xbe, 0xa0= , 0xf7, 0xe0, 0xb8}|VOID*|0xA0010002 =20 + ## This is the lowest supported version number that can be upgraded to, = as exposed via the System Firmware descriptor. + # @Prompt Lowest support version number that can be upgraded to via caps= ule update + gEfiSignedCapsulePkgTokenSpaceGuid.PcdLowestSupportedFirmwareVersion|0x1= |UINT32|0xA0010003 + [PcdsDynamicEx] ## This dynamic PCD holds the EDKII system firmware image descriptor. # This information can be used for version check in EDKII system FMP ca= psule. --=20 2.17.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel