浏览代码

FatPkg: Use BasePcdLibNull to prevent PCD dependency

When using DxePcdLib or PeiPcdLib, a PCD protocol or
PPI dependency is added.

This dependency should not be required since the FAT
drivers use fixed PCD values.

Signed-off-by: jljusten
Reviewed-by: mdkinney

(based on FatPkg commit b098f260669c4f7856b8cf01fff2bbeb206f22c2)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Mark Doran <mark.doran@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Jordan Justen 13 年之前
父节点
当前提交
4d0e0c4510
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      FatPkg/FatPkg.dsc

+ 1 - 2
FatPkg/FatPkg.dsc

@@ -43,7 +43,7 @@
   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
-  PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
+  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
@@ -57,7 +57,6 @@
   PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
-  PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
 
 ###################################################################################################
 #