Skip to content

Commit

Permalink
ImageTool: Reassigned some PCDs to allow
Browse files Browse the repository at this point in the history
them have different values in OpenCore tools.
  • Loading branch information
Mikhail Krichanov committed Dec 6, 2023
1 parent 100f289 commit 8dcccb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BaseTools/ImageTool/ImageTool.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,10 @@ int main (int argc, const char *argv[])
bool FixedAddress;
int ArgIndex;

PcdGet8 (PcdUefiImageFormatSupportNonFv) = 0x00;
PcdGet8 (PcdUefiImageFormatSupportFv) = 0x03;
PcdGet32 (PcdImageProtectionPolicy) = 0x00;

if (argc < 2) {
fprintf (stderr, "ImageTool: No command is specified\n");
DEBUG_RAISE ();
Expand Down

0 comments on commit 8dcccb6

Please sign in to comment.