Re: [edk2] [RFC] PCD: Database size optimization for multi-SKU

2017-05-16 Thread Zeng, Star
Tim, Yes, right. The PCD_DATABASE_INIT.BuildVersion will be increased for the PCD database format change to support multi-SKU. That is the rule we maintain the PCD database. :) Thanks, Star From: Tim Lewis [mailto:tim.le...@insyde.com] Sent: Wednesday, May 17, 2017 2:04 AM To: Zeng, Star ; edk

Re: [edk2] [RFC] PCD: Database size optimization for multi-SKU

2017-05-16 Thread Tim Lewis
Star- One more requirement that I propose is the the format update be detectable easily by inspection of the binary image. We have tools that dump and manipulate the PCD database and the revision or version number allows us to support multiple core versions. I think this is already your inten

[edk2] [RFC] PCD: Database size optimization for multi-SKU

2017-05-16 Thread Star Zeng
- Requirement Reduce PCD database size for multi-SKU case to save image size at build time and memory resource at boot time. - Current limitation When multiple SKUs are enabled, the full set of PCD values for all SKUs will be generated into PCD database, and HOB will be created for the PCD data