diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2019-01-16 19:12:00 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-01-18 10:20:01 +0800 |
commit | cce9d763580a955d294a5e3696cbe07a03965e2b (patch) | |
tree | e678859c4fb2c5df395a6410aceca2ea689dec7f /BaseTools/Source/Python/Ecc/MetaDataParser.py | |
parent | c68b5649002c2c75633cdf8a949803cacbe8d044 (diff) | |
download | edk2-cce9d763580a955d294a5e3696cbe07a03965e2b.tar.gz edk2-cce9d763580a955d294a5e3696cbe07a03965e2b.tar.bz2 edk2-cce9d763580a955d294a5e3696cbe07a03965e2b.zip |
BaseTools: Allow empty value for HiiPcd in Dsc
https://bugzilla.tianocore.org/show_bug.cgi?id=1466
DEC file defines PCD default value and PCD supported type.
DSC can configure PCD type and value.
If the value is same to default value in DEC file,
DSC can only configure PCD type and leave empty for value.
This usage supports all type PCD except for DynamicHii type.
So, DynamicHii PCD should support this usage. Below is one example in DSC.
for example,
[PcdsDynamicHii.common.DEFAULT]
PcdPkgTokenSpaceGuid.PcdCName|L"VarName"|gVarGuid|0x00||NV,BS
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/MetaDataParser.py')
0 files changed, 0 insertions, 0 deletions