summaryrefslogtreecommitdiffstats
path: root/FatPkg/FatPei/FatPei.inf
diff options
context:
space:
mode:
authorJiewen Yao <jiewen.yao@intel.com>2016-10-08 09:55:59 +0800
committerJiewen Yao <jiewen.yao@intel.com>2016-10-12 09:15:25 +0800
commit46cd2cb6a7ba5b1fdaff1eb18a13dc399d6a7fe2 (patch)
treeeb9616bd1168e8bd1465573dd2ca0f1571e0a512 /FatPkg/FatPei/FatPei.inf
parent9753360756bc9d28f3b1cc59624e0b4fe3618870 (diff)
downloadedk2-46cd2cb6a7ba5b1fdaff1eb18a13dc399d6a7fe2.tar.gz
edk2-46cd2cb6a7ba5b1fdaff1eb18a13dc399d6a7fe2.tar.bz2
edk2-46cd2cb6a7ba5b1fdaff1eb18a13dc399d6a7fe2.zip
FatPkg/FatPei: Use PcdRecoveryFileName PCD.
This PCD is used to indicated the recovery file name. The previous name - FvMain.Fv is hardcoded in FatPei. It does not make sense to force the name. Now a platform may use any recovery file name. Tested-by: Michael D Kinney <michael.d.kinney@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Feng Tian <feng.tian@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'FatPkg/FatPei/FatPei.inf')
-rw-r--r--FatPkg/FatPei/FatPei.inf5
1 files changed, 4 insertions, 1 deletions
diff --git a/FatPkg/FatPei/FatPei.inf b/FatPkg/FatPei/FatPei.inf
index 0304b00609..1409e28e4f 100644
--- a/FatPkg/FatPei/FatPei.inf
+++ b/FatPkg/FatPei/FatPei.inf
@@ -1,7 +1,7 @@
## @file
# Lite Fat driver only used in Pei Phase.
#
-# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials are licensed and made available
# under the terms and conditions of the BSD License which accompanies this
@@ -69,6 +69,9 @@
[FeaturePcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
+[Pcd]
+ gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName ## CONSUMES
+
[Depex]
gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiBootInRecoveryModePpiGuid