FmpDevicePkg FmpDxe: Return 0 when LSV check is not required
[mirror_edk2.git] / FmpDevicePkg / FmpDxe / FmpDxe.inf
1 ## @file
2 # Produces a Firmware Management Protocol that supports updates to a firmware
3 # image stored in a firmware device with platform and firmware device specific
4 # information provided through PCDs and libraries.
5 #
6 # Copyright (c) 2016, Microsoft Corporation. All rights reserved.<BR>
7 # Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
8 #
9 # Redistribution and use in source and binary forms, with or without
10 # modification, are permitted provided that the following conditions are met:
11 # 1. Redistributions of source code must retain the above copyright notice,
12 # this list of conditions and the following disclaimer.
13 # 2. Redistributions in binary form must reproduce the above copyright notice,
14 # this list of conditions and the following disclaimer in the documentation
15 # and/or other materials provided with the distribution.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 # IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
21 # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25 # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 ##
28
29 [Defines]
30 INF_VERSION = 0x00010005
31 BASE_NAME = FmpDxe
32 MODULE_UNI_FILE = FmpDxe.uni
33 FILE_GUID = 78EF0A56-1CF0-4535-B5DA-F6FD2F405A11
34 MODULE_TYPE = DXE_DRIVER
35 VERSION_STRING = 1.0
36 ENTRY_POINT = FmpDxeEntryPoint
37
38 #
39 # The following information is for reference only and not required by the build tools.
40 #
41 # VALID_ARCHITECTURES = IA32 X64 IPF ARM AARCH64
42 #
43
44 [Sources]
45 FmpDxe.c
46 DetectTestKey.c
47 VariableSupport.h
48 VariableSupport.c
49
50 [Packages]
51 MdePkg/MdePkg.dec
52 MdeModulePkg/MdeModulePkg.dec
53 CryptoPkg/CryptoPkg.dec
54 FmpDevicePkg/FmpDevicePkg.dec
55
56 [LibraryClasses]
57 UefiDriverEntryPoint
58 DebugLib
59 BaseLib
60 BaseMemoryLib
61 UefiBootServicesTableLib
62 MemoryAllocationLib
63 UefiLib
64 BaseCryptLib
65 FmpAuthenticationLib
66 FmpDeviceLib
67 FmpPayloadHeaderLib
68 CapsuleUpdatePolicyLib
69
70 [Guids]
71 gEfiEndOfDxeEventGroupGuid
72
73 [Protocols]
74 gEdkiiVariableLockProtocolGuid ## CONSUMES
75 gEfiFirmwareManagementProtocolGuid ## PRODUCES
76 gEdkiiFirmwareManagementProgressProtocolGuid ## PRODUCES
77
78 [Pcd]
79 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceSystemResetRequired ## CONSUMES
80 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceImageIdName ## CONSUMES
81 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceBuildTimeLowestSupportedVersion ## CONSUMES
82 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceLockEventGuid ## CONSUMES
83 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceProgressWatchdogTimeInSeconds ## CONSUMES
84 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceProgressColor ## CONSUMES
85 gFmpDevicePkgTokenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr ## CONSUMES
86 gFmpDevicePkgTokenSpaceGuid.PcdFmpDeviceTestKeySha256Digest ## CONSUMES
87 gEfiMdeModulePkgTokenSpaceGuid.PcdTestKeyUsed ## SOMETIMES_PRODUCES
88
89 [Depex]
90 gEfiVariableWriteArchProtocolGuid AND gEdkiiVariableLockProtocolGuid
91
92 [UserExtensions.TianoCore."ExtraFiles"]
93 FmpDxeExtra.uni