diff options
author | Konstantin Aladyshev <aladyshev22@gmail.com> | 2022-08-30 18:20:54 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-10-19 06:32:07 +0000 |
commit | 1d0ff11526fc6da71a6575c6720494dd5961ab83 (patch) | |
tree | bef14b3049576d0b7cf559a8f43dc26c425ff8b6 /BaseTools/Source/Python/Workspace/WorkspaceDatabase.py | |
parent | d23eb3aa993b8788dd45b6c2390f3edd3577dd13 (diff) | |
download | edk2-1d0ff11526fc6da71a6575c6720494dd5961ab83.tar.gz edk2-1d0ff11526fc6da71a6575c6720494dd5961ab83.tar.bz2 edk2-1d0ff11526fc6da71a6575c6720494dd5961ab83.zip |
BaseTools: Correct initialization data size check for array PCDs
Currently it is not possible to initialize all elements in the
array PCD.
For example, this PCD would result to a build failure:
gTokenSpaceGuid.PcdArray|{0x11, 0x22}|UINT8[2]|0x4C4CB9A3
Correct logical operator in the initialization data size checks to
fix the issue.
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/WorkspaceDatabase.py')
0 files changed, 0 insertions, 0 deletions