#/** @file
|
#
|
# Support for the FS-backed "flash" device.
|
# The trick is to keep it inside the RPI firmware file itself...
|
#
|
# Copyright (c) 2018, Andrei Warkentin <andrey.warkentin@gmail.com>
|
# Copyright (c) 2006-2013, Intel Corporation. All rights reserved.
|
#
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
#
|
#**/
|
|
[Defines]
|
INF_VERSION = 0x0001001A
|
BASE_NAME = VarBlockServiceDxe
|
FILE_GUID = 733cbac2-b23f-4b92-bc8e-fb01ce5907b7
|
MODULE_TYPE = DXE_RUNTIME_DRIVER
|
VERSION_STRING = 1.0
|
ENTRY_POINT = FvbInitialize
|
|
#
|
# The following information is for reference only and not required by the build
|
# tools.
|
#
|
# VALID_ARCHITECTURES = AARCH64
|
#
|
|
[Sources]
|
FvbInfo.c
|
VarBlockService.h
|
VarBlockService.c
|
VarBlockServiceDxe.c
|
FileIo.c
|
|
[Packages]
|
ArmPkg/ArmPkg.dec
|
MdePkg/MdePkg.dec
|
MdeModulePkg/MdeModulePkg.dec
|
Platform/RaspberryPi/RaspberryPi.dec
|
|
[LibraryClasses]
|
BaseLib
|
BaseMemoryLib
|
DebugLib
|
DevicePathLib
|
DxeServicesTableLib
|
MemoryAllocationLib
|
PcdLib
|
UefiBootServicesTableLib
|
UefiDriverEntryPoint
|
UefiRuntimeLib
|
|
[Guids]
|
gEfiEventVirtualAddressChangeGuid
|
gRaspberryPiEventResetGuid
|
gEfiEventReadyToBootGuid
|
|
[Protocols]
|
gEfiSimpleFileSystemProtocolGuid
|
gEfiLoadedImageProtocolGuid
|
gEfiBlockIoProtocolGuid
|
gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL SOMETIMES_PRODUCED
|
gEfiDevicePathProtocolGuid # PROTOCOL SOMETIMES_PRODUCED
|
|
[FixedPcd]
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
|
gRaspberryPiTokenSpaceGuid.PcdNvStorageVariableBase
|
gRaspberryPiTokenSpaceGuid.PcdNvStorageFtwWorkingBase
|
gRaspberryPiTokenSpaceGuid.PcdNvStorageFtwSpareBase
|
gRaspberryPiTokenSpaceGuid.PcdNvStorageEventLogSize
|
gRaspberryPiTokenSpaceGuid.PcdFirmwareBlockSize
|
gArmTokenSpaceGuid.PcdFdBaseAddress
|
gArmTokenSpaceGuid.PcdFdSize
|
|
[Pcd]
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
|
gRaspberryPiTokenSpaceGuid.PcdNvStorageEventLogBase
|
gRaspberryPiTokenSpaceGuid.PcdPlatformResetDelay
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64
|
|
[FeaturePcd]
|
|
[Depex]
|
TRUE
|