From: Star Zeng <star.zeng@intel.com>
To: edk2-devel@lists.01.org
Cc: Star Zeng <star.zeng@intel.com>
Subject: [RFC 2/2] Example: The PCDs configuring for multiple SKUs with sub SKU support
Date: Tue, 25 Apr 2017 20:48:20 +0800 [thread overview]
Message-ID: <1493124500-19000-3-git-send-email-star.zeng@intel.com> (raw)
In-Reply-To: <1493124500-19000-1-git-send-email-star.zeng@intel.com>
---
Nt32Pkg/Nt32Pkg.dsc | 116 ++++++++--------------------------------------------
1 file changed, 16 insertions(+), 100 deletions(-)
diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc
index 573875fe4b95..7b468c18ad7a 100644
--- a/Nt32Pkg/Nt32Pkg.dsc
+++ b/Nt32Pkg/Nt32Pkg.dsc
@@ -86,16 +86,15 @@ [Defines]
################################################################################
[SkuIds]
0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
- 1 | Sku1 # CpuA + CsA + FruA
- 2 | Sku2 # CpuA + CsA + FruB
- 3 | Sku3 # CpuA + CsB + FruA
- 4 | Sku4 # CpuA + CsB + FruB
- 5 | Sku5 # CpuB + CsA + FruA
- 6 | Sku6 # CpuB + CsA + FruB
- 7 | Sku7 # CpuB + CsB + FruA
- 8 | Sku8 # CpuB + CsB + FruB
- 9 | Sku9 # CpuA + CsB
- 10 | Sku10 # CpuB + CsB
+ CpuSku | CpuSkuA | DEFAULT
+ CpuSku | CpuSkuB | CpuSkuA
+ CsSku | CsSkuA | DEFAULT
+ CsSku | CsSkuB | CsSkuA
+ FruSku | FruSkuA | DEFAULT
+ FruSku | FruSkuB | FruSkuA
+
+ Combo1 | (CpuSku , CsSku, FruSku)
+ Combo2 | (CpuSku , CsSkuB)
################################################################################
#
@@ -348,109 +347,26 @@ [PcdsDynamicDefault.Common.DEFAULT]
gXXXPkgTokenSpaceGuid.PcdFruConfig2|FALSE
gXXXPkgTokenSpaceGuid.PcdFruConfig3|FALSE
-[PcdsDynamicDefault.Common.Sku1]
+[PcdsDynamicDefault.Common.CpuA]
gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE
gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdCpuConfig3|FALSE
- gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdCsConfig3|FALSE
- gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdFruConfig3|FALSE
-
-[PcdsDynamicDefault.Common.Sku2]
- gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdCpuConfig3|FALSE
- gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdCsConfig3|FALSE
- gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig3|TRUE
-[PcdsDynamicDefault.Common.Sku3]
- gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdCpuConfig3|FALSE
- gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdFruConfig3|FALSE
-
-[PcdsDynamicDefault.Common.Sku4]
- gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdCpuConfig3|FALSE
- gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig3|TRUE
-
-[PcdsDynamicDefault.Common.Sku5]
- gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE
+[PcdsDynamicDefault.Common.CpuB]
gXXXPkgTokenSpaceGuid.PcdCpuConfig3|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdCsConfig3|FALSE
- gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdFruConfig3|FALSE
-[PcdsDynamicDefault.Common.Sku6]
- gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig3|TRUE
+[PcdsDynamicDefault.Common.CsA]
gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE
gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdCsConfig3|FALSE
- gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig3|TRUE
-[PcdsDynamicDefault.Common.Sku7]
- gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig3|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE
+[PcdsDynamicDefault.Common.CsB]
gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdFruConfig3|FALSE
-[PcdsDynamicDefault.Common.Sku8]
- gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig3|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE
+[PcdsDynamicDefault.Common.FruA]
gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE
gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdFruConfig3|TRUE
-[PcdsDynamicDefault.Common.Sku9]
- gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE
- # gXXXPkgTokenSpaceGuid.PcdCpuConfig3|FALSE
- gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE
-
-[PcdsDynamicDefault.Common.Sku10]
- gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdCpuConfig3|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE
- gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE
+[PcdsDynamicDefault.Common.FruB]
+ gXXXPkgTokenSpaceGuid.PcdFruConfig3|TRUE
###################################################################################################
#
--
2.7.0.windows.1
next prev parent reply other threads:[~2017-04-25 12:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-25 12:48 [RFC 0/2] PCD: Extended SKU support 2 - sub SKU Star Zeng
2017-04-25 12:48 ` [RFC 1/2] Example: The PCDs configuring for multiple SKUs with current SKU usage Star Zeng
2017-04-25 12:48 ` Star Zeng [this message]
2017-05-15 10:00 ` [RFC 0/2] PCD: Extended SKU support 2 - sub SKU Zeng, Star
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=1493124500-19000-3-git-send-email-star.zeng@intel.com \
--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