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:c0c::241; helo=mail-wr0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org 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) 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) 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) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, star.zeng@Intel.com, Ard Biesheuvel , Jiewen Yao 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: [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: , X-List-Received-Date: Thu, 31 May 2018 09:01:57 -0000 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 --- 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/SignedCapsulePkg.dec index b27e87409b19..f06e07656de9 100644 --- a/SignedCapsulePkg/SignedCapsulePkg.dec +++ b/SignedCapsulePkg/SignedCapsulePkg.dec @@ -52,6 +52,10 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] # @Prompt GUID of the FFS which contains the Pkcs7TestPublicKeyFile. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiPkcs7TestPublicKeyFileGuid|{0xba, 0xf5, 0x93, 0xf0, 0x37, 0x6f, 0x16, 0x48, 0x9e, 0x52, 0x91, 0xbe, 0xa0, 0xf7, 0xe0, 0xb8}|VOID*|0xA0010002 + ## 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 capsule 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 capsule. -- 2.17.0