2016-09-21 05:43:01 +02:00
|
|
|
## @file
|
|
|
|
# Platform Flash Access library.
|
|
|
|
#
|
2018-03-17 03:17:26 +01:00
|
|
|
# Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>
|
2016-09-21 05:43:01 +02:00
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# 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]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = PlatformFlashAccessLib
|
|
|
|
FILE_GUID = 31CF9CEC-DA4E-4505-AA20-33364A291A95
|
|
|
|
MODULE_TYPE = BASE
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = PlatformFlashAccessLib
|
|
|
|
LIBRARY_CLASS = MicrocodeFlashAccessLib
|
|
|
|
CONSTRUCTOR = PerformFlashAccessLibConstructor
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
PlatformFlashAccessLib.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
SignedCapsulePkg/SignedCapsulePkg.dec
|
|
|
|
Vlv2TbltDevicePkg/PlatformPkg.dec
|
2018-03-28 01:51:06 +02:00
|
|
|
Vlv2DeviceRefCodePkg/Vlv2DeviceRefCodePkg.dec
|
2016-09-21 05:43:01 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseMemoryLib
|
2018-03-28 01:51:06 +02:00
|
|
|
IoLib
|
2016-09-21 05:43:01 +02:00
|
|
|
PcdLib
|
|
|
|
DebugLib
|
|
|
|
MemoryAllocationLib
|
2018-03-28 01:51:06 +02:00
|
|
|
CacheMaintenanceLib
|
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEdkiiSystemFmpCapsuleConfigFileGuid ## SOMETIMES_CONSUMES ## GUID
|
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiSpiProtocolGuid ## CONSUMES
|
2016-09-21 05:43:01 +02:00
|
|
|
|
|
|
|
[Pcd]
|
2018-03-28 01:51:06 +02:00
|
|
|
gPlatformModuleTokenSpaceGuid.PcdFlashAreaBaseAddress ## SOMETIMES_CONSUMES
|
|
|
|
gPlatformModuleTokenSpaceGuid.PcdFlashChipBase ## SOMETIMES_CONSUMES
|
|
|
|
gPlatformModuleTokenSpaceGuid.PcdFlashChipSize ## SOMETIMES_CONSUMES
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress ## SOMETIMES_CONSUMES
|
|
|
|
|