BaseTools: Optimize VPD PCD value for the different SKUs
authorLiming Gao <liming.gao@intel.com>
Fri, 22 Dec 2017 12:19:20 +0000 (20:19 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 25 Dec 2017 03:05:50 +0000 (11:05 +0800)
commit626bece451db2e2a19fa7696889ad4d4c441b16e
treea7901f30dd6d8a7df7357a46e65723da457e825e
parent7e6e459a3d91c07db1f97258aec323a982375e19
BaseTools: Optimize VPD PCD value for the different SKUs

If VPD PCD value is same in the different SKUs, the different SKUs will
save the same offset for this PCD in VPD region. That means there is only
one PCD value copy in VPD region to save VPD space.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Feng Bob C <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools/Source/Python/Common/VpdInfoFile.py