summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-24 01:24:17 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-24 01:24:17 +0000
commit5944a83bacfe55abec4abec339c1acd76714c4dc (patch)
treea04d6dfd8228e5d75fd33ef64a9b48ab48c207ac /MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf
parent2da292f637e506a7cfb6bce738cb5741671d8f68 (diff)
downloadedk2-5944a83bacfe55abec4abec339c1acd76714c4dc.zip
edk2-5944a83bacfe55abec4abec339c1acd76714c4dc.tar.gz
edk2-5944a83bacfe55abec4abec339c1acd76714c4dc.tar.bz2
Code clean for Ftw driver, remove the obsolete logic for boot block. Correct some comments in Pei Pcd driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7108 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf')
-rw-r--r--MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf34
1 files changed, 7 insertions, 27 deletions
diff --git a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf
index b600f46..ed51c07 100644
--- a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf
+++ b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.inf
@@ -1,8 +1,11 @@
#/** @file
-# Component description file for FtwLite module.
+# This driver provides lite fault tolerant capability for write operation on flash devices.
+# Its implementation depends on the full functionality FVB protocol that support read, write/erase flash access.
+# It only supports write BufferSize <= PcdFlashNvStorageFtwSpareSize.
+# That's the input write buffer data must fit within the spare range.
+# This driver doesn't differentiate the update for boot block and other block.
#
-# This driver provides fault tolerant write capability for block devices.
-# Copyright (c) 2006 - 2007, Intel Corporation
+# Copyright (c) 2006 - 2008, Intel Corporation
#
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -11,7 +14,6 @@
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
-#
#**/
[Defines]
@@ -33,26 +35,11 @@
FtwMisc.c
FtwLite.c
FtwLite.h
-
-[Sources.Ia32]
- Ia32/Ia32FtwMisc.c
-
-[Sources.X64]
- X64/X64FtwMisc.c
-
-[Sources.IPF]
- Ipf/IpfFtwMisc.c
-
-[Sources.EBC]
- Ia32/Ia32FtwMisc.c
-
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
-
-
[LibraryClasses]
UefiBootServicesTableLib
MemoryAllocationLib
@@ -63,19 +50,12 @@
DevicePathLib
[Guids]
- gEfiSystemNvDataFvGuid # ALWAYS_CONSUMED
+ gEfiSystemNvDataFvGuid # ALWAYS_CONSUMED, Signature of Working Space Header
[Protocols]
gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL ALWAYS_CONSUMED
gEfiFaultTolerantWriteLiteProtocolGuid # PROTOCOL ALWAYS_PRODUCED
-[Protocols.IA32]
- gEfiPciRootBridgeIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED
-
-[Protocols.EBC]
- gEfiPciRootBridgeIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED
-
-
[Pcd.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase