From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel@lists.01.org
Cc: leif.lindholm@linaro.org, star.zeng@Intel.com,
Ard Biesheuvel <ard.biesheuvel@linaro.org>,
Jiewen Yao <jiewen.yao@intel.com>
Subject: [PATCH] SignedCapsulePkg: add PcdLowestSupportedFirmwareVersion
Date: Thu, 31 May 2018 11:01:49 +0200 [thread overview]
Message-ID: <20180531090149.29202-1-ard.biesheuvel@linaro.org> (raw)
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 <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
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
next reply other threads:[~2018-05-31 9:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-31 9:01 Ard Biesheuvel [this message]
2018-05-31 9:12 ` [PATCH] SignedCapsulePkg: add PcdLowestSupportedFirmwareVersion Zeng, Star
2018-06-01 10:05 ` Ard Biesheuvel
2018-06-01 15:09 ` Yao, Jiewen
2018-06-01 15:10 ` Ard Biesheuvel
2018-06-01 15:13 ` Yao, Jiewen
2018-06-01 15:17 ` Ard Biesheuvel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180531090149.29202-1-ard.biesheuvel@linaro.org \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox