Skip to content

Commit 3a13ff2

Browse files
sathishas89chetan-rathore
authored andcommitted
edk2: Update PFDI patch to use BaseFdtLib instead of FdtLib
Replaced FdtLib references with BaseFdtLib for compatibility and to align with the latest edk2 build environment. Signed-off-by: Sathisha S <[email protected]>
1 parent 61a2999 commit 3a13ff2

File tree

1 file changed

+26
-28
lines changed
  • SystemReady-devicetree-band/Yocto/meta-woden/recipes-acs/pfdi-acs/files

1 file changed

+26
-28
lines changed

SystemReady-devicetree-band/Yocto/meta-woden/recipes-acs/pfdi-acs/files/edk2_pfdi.patch

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,35 @@ index f0a8b9fe62..e41e0de3e0 100644
33
--- a/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c
44
+++ b/MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.c
55
@@ -90,8 +90,8 @@ UefiHiiServicesLibConstructor (
6-
//
7-
// Retrieve the pointer to the UEFI HII Config Routing Protocol
8-
//
9-
- Status = gBS->LocateProtocol (&gEfiHiiConfigRoutingProtocolGuid, NULL, (VOID **)&gHiiConfigRouting);
10-
- ASSERT_EFI_ERROR (Status);
11-
+ //Status = gBS->LocateProtocol (&gEfiHiiConfigRoutingProtocolGuid, NULL, (VOID **)&gHiiConfigRouting);
12-
+ //ASSERT_EFI_ERROR (Status);
13-
14-
//
15-
// Retrieve the pointer to the optional UEFI HII Font Protocol
6+
//
7+
// Retrieve the pointer to the UEFI HII Config Routing Protocol
8+
//
9+
- Status = gBS->LocateProtocol (&gEfiHiiConfigRoutingProtocolGuid, NULL, (VOID **)&gHiiConfigRouting);
10+
- ASSERT_EFI_ERROR (Status);
11+
+ //Status = gBS->LocateProtocol (&gEfiHiiConfigRoutingProtocolGuid, NULL, (VOID **)&gHiiConfigRouting);
12+
+ //ASSERT_EFI_ERROR (Status);
13+
14+
//
15+
// Retrieve the pointer to the optional UEFI HII Font Protocol
1616
diff --git a/ShellPkg/ShellPkg.dsc b/ShellPkg/ShellPkg.dsc
1717
index 94d95de0eb..dbd4453044 100644
1818
--- a/ShellPkg/ShellPkg.dsc
1919
+++ b/ShellPkg/ShellPkg.dsc
2020
@@ -66,6 +66,9 @@
21-
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
22-
23-
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
24-
+ BaseFdtLib|MdePkg/Library/BaseFdtLib/BaseFdtLib.inf
25-
+ UnifiedValLib|ShellPkg/Application/sysarch-acs/val/UnifiedValLib.inf
26-
+ UnifiedPalLib|ShellPkg/Application/sysarch-acs/pal/uefi_dt/UnifiedPalLib.inf
27-
28-
[PcdsFixedAtBuild]
29-
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
21+
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
22+
23+
SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
24+
+ BaseFdtLib|MdePkg/Library/BaseFdtLib/BaseFdtLib.inf
25+
+ UnifiedValLib|ShellPkg/Application/sysarch-acs/val/UnifiedValLib.inf
26+
+ UnifiedPalLib|ShellPkg/Application/sysarch-acs/pal/uefi_dt/UnifiedPalLib.inf
27+
28+
[PcdsFixedAtBuild]
29+
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
3030
@@ -93,6 +96,7 @@
31-
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
32-
ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
33-
ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
34-
+ ShellPkg/Application/sysarch-acs/apps/uefi/Pfdi.inf
35-
36-
ShellPkg/Application/Shell/Shell.inf {
37-
<PcdsFixedAtBuild>
38-
39-
31+
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
32+
ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
33+
ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
34+
+ ShellPkg/Application/sysarch-acs/apps/uefi/Pfdi.inf
35+
36+
ShellPkg/Application/Shell/Shell.inf {
37+
<PcdsFixedAtBuild>

0 commit comments

Comments
 (0)