0
0
mirror of https://github.com/edk2-porting/edk2-msm synced 2025-05-12 23:52:55 +00:00
Files
edk2-msm/Silicon/Qualcomm/sdm845/Library/PlatformPrePiLib/PlatformPrePiLib.inf
Molly Sophia 0ca2e096ed PrePi: Add fail-safe routine for entering recovery mode
This detects the value of a Pcd configurable gpio to disable entering
UEFI using recovery key combination as a fail-safe routine to enter
recovery mode.

Signed-off-by: Molly Sophia <mollysophia379@gmail.com>
2023-01-12 23:38:13 +08:00

65 lines
1.5 KiB
INI
Executable File

#/** @file
#
# Copyright (c) DuoWoA authors. All rights reserved.
# Copyright (c) 2011-2015, ARM Limited. All rights reserved.
# Copyright (c) 2014, Linaro Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#**/
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = PlatformPrePiLib
FILE_GUID = 59C11815-F8DA-4F49-B4FB-EC1E41ED1F07
MODULE_TYPE = SEC
VERSION_STRING = 1.0
LIBRARY_CLASS = PlatformPrePiLib
[Sources]
PlatformUtils.c
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
EmbeddedPkg/EmbeddedPkg.dec
ArmPkg/ArmPkg.dec
Silicon/Qualcomm/QcomPkg/QcomPkg.dec
Silicon/Qualcomm/sdm845/sdm845.dec
[LibraryClasses]
ArmLib
ArmMmuLib
BaseLib
DebugLib
IoLib
ExtractGuidedSectionLib
LzmaDecompressLib
PeCoffGetEntryPointLib
PrePiHobListPointerLib
CacheMaintenanceLib
DebugAgentLib
SerialPortLib
MemoryAllocationLib
PrePiMemoryAllocationLib
PerformanceLib
HobLib
CompilerIntrinsicsLib
# Platform-specific libraries
MemoryInitPeiLib
PlatformPeiLib
PlatformPrePiLib
TimerLib
PrintLib
MemoryMapHelperLib
[Pcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString
[FixedPcd]
gQcomTokenSpaceGuid.PcdMipiFrameBufferAddress
gQcomTokenSpaceGuid.PcdMipiFrameBufferWidth
gQcomTokenSpaceGuid.PcdMipiFrameBufferHeight
gQcomTokenSpaceGuid.PcdMipiFrameBufferPixelBpp
gQcomTokenSpaceGuid.PcdHallSensorPin
gQcomTokenSpaceGuid.PcdHallSensorActiveLow