]> git.proxmox.com Git - mirror_edk2.git/blob - FmpDevicePkg/Library/FmpDependencyCheckLibNull/FmpDependencyCheckLibNull.c
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / FmpDevicePkg / Library / FmpDependencyCheckLibNull / FmpDependencyCheckLibNull.c
1 /** @file
2 Null instance of FmpDependencyCheckLib.
3
4 Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9 #include <PiDxe.h>
10 #include <Library/FmpDependencyCheckLib.h>
11
12 /**
13 Check dependency for firmware update.
14
15 @param[in] ImageTypeId Image Type Id.
16 @param[in] Version New version.
17 @param[in] Dependencies Fmp dependency.
18 @param[in] DependenciesSize Size, in bytes, of the Fmp dependency.
19
20 @retval TRUE Dependencies are satisfied.
21 @retval FALSE Dependencies are unsatisfied or dependency check fails.
22
23 **/
24 BOOLEAN
25 EFIAPI
26 CheckFmpDependency (
27 IN EFI_GUID ImageTypeId,
28 IN UINT32 Version,
29 IN EFI_FIRMWARE_IMAGE_DEP *Dependencies, OPTIONAL
30 IN UINT32 DependenciesSize
31 )
32 {
33 return TRUE;
34 }