]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf
Code clean for Ftw driver, remove the obsolete logic for boot block. Correct some...
[mirror_edk2.git] / MdeModulePkg / Universal / FirmwareVolume / FaultTolerantWriteDxe / FtwLite.inf
CommitLineData
d7dec593 1#/** @file\r
5944a83b
LG
2# This driver provides lite fault tolerant capability for write operation on flash devices.\r
3# Its implementation depends on the full functionality FVB protocol that support read, write/erase flash access.\r
4# It only supports write BufferSize <= PcdFlashNvStorageFtwSpareSize.\r
5# That's the input write buffer data must fit within the spare range.\r
6# This driver doesn't differentiate the update for boot block and other block.\r
d7dec593 7#\r
5944a83b 8# Copyright (c) 2006 - 2008, Intel Corporation\r
d7dec593 9#\r
10# All rights reserved. This program and the accompanying materials\r
11# are licensed and made available under the terms and conditions of the BSD License\r
12# which accompanies this distribution. The full text of the license may be found at\r
13# http://opensource.org/licenses/bsd-license.php\r
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
16#\r
d7dec593 17#**/\r
18\r
d7dec593 19[Defines]\r
20 INF_VERSION = 0x00010005\r
21 BASE_NAME = FtwLite\r
22 FILE_GUID = 4C862FC6-0E54-4e36-8C8F-FF6F3167951F\r
23 MODULE_TYPE = DXE_DRIVER\r
24 VERSION_STRING = 1.0\r
d7dec593 25 ENTRY_POINT = InitializeFtwLite\r
26\r
27#\r
28# The following information is for reference only and not required by the build tools.\r
29#\r
30# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
31#\r
32\r
d7dec593 33[Sources.common]\r
d7dec593 34 FtwWorkSpace.c\r
35 FtwMisc.c\r
36 FtwLite.c\r
37 FtwLite.h\r
ca4eb92e 38\r
d7dec593 39[Packages]\r
40 MdePkg/MdePkg.dec\r
41 MdeModulePkg/MdeModulePkg.dec\r
42\r
d7dec593 43[LibraryClasses]\r
44 UefiBootServicesTableLib\r
45 MemoryAllocationLib\r
46 BaseMemoryLib\r
47 UefiDriverEntryPoint\r
48 DebugLib\r
49 PcdLib\r
1232b214 50 DevicePathLib\r
51 \r
d7dec593 52[Guids]\r
5944a83b 53 gEfiSystemNvDataFvGuid # ALWAYS_CONSUMED, Signature of Working Space Header\r
d7dec593 54\r
d7dec593 55[Protocols]\r
56 gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
57 gEfiFaultTolerantWriteLiteProtocolGuid # PROTOCOL ALWAYS_PRODUCED\r
58\r
b3af5df6 59[Pcd.common]\r
60 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize\r
61 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase\r
62 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize\r
63 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase\r
d7dec593 64\r
7b77fbc6 65[Depex]\r
66 gEfiFirmwareVolumeBlockProtocolGuid AND gEfiAlternateFvBlockGuid\r