2022-10-18 23:07:53 +08:00
|
|
|
## @file
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011-2015, ARM Limited. All rights reserved.
|
|
|
|
# Copyright (c) 2014, Linaro Limited. All rights reserved.
|
|
|
|
# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
|
|
|
|
# Copyright (c) 2018 - 2019, Bingxing Wang. All rights reserved.
|
|
|
|
# Copyright (c) 2022, Xilin Wu. All rights reserved.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Defines Section - statements that will be processed to create a Makefile.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
SOC_PLATFORM = SM7325
|
|
|
|
USE_PHYSICAL_TIMER = FALSE
|
|
|
|
|
2022-10-20 21:30:38 +08:00
|
|
|
!include Silicon/Qualcomm/QcomPkg/QcomCommonDsc.inc
|
|
|
|
|
2022-10-18 23:07:53 +08:00
|
|
|
[PcdsFixedAtBuild.common]
|
|
|
|
gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000 # Starting address
|
|
|
|
gArmTokenSpaceGuid.PcdSystemMemorySize|0x200000000
|
|
|
|
|
|
|
|
gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x9FF8C000 # CPU Vectors
|
|
|
|
gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz|19200000
|
|
|
|
gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|29
|
|
|
|
gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|30
|
2022-11-03 17:54:37 +08:00
|
|
|
gArmTokenSpaceGuid.PcdGicDistributorBase|0x17A00000
|
2022-10-25 20:54:23 +08:00
|
|
|
gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x17A60000
|
2022-10-18 23:07:53 +08:00
|
|
|
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision|0x00007280
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0x9FF90000 # UEFI Stack
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|0x00040000 # 256K stack
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|44
|
|
|
|
|
2022-11-03 17:54:37 +08:00
|
|
|
gQcomTokenSpaceGuid.PcdUefiMemPoolBase|0xB0400000 # DXE Heap base address
|
|
|
|
gQcomTokenSpaceGuid.PcdUefiMemPoolSize|0x09300000 # UefiMemorySize, DXE heap size
|
2022-10-18 23:07:53 +08:00
|
|
|
gQcomTokenSpaceGuid.PcdMipiFrameBufferAddress|0xE1000000
|
|
|
|
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdCoreCount|8
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdClusterCount|3
|
|
|
|
|
|
|
|
#
|
|
|
|
# SimpleInit
|
|
|
|
#
|
2022-10-21 22:29:13 +08:00
|
|
|
gSimpleInitTokenSpaceGuid.PcdDeviceTreeStore|0x80780000
|
2022-10-18 23:07:53 +08:00
|
|
|
gSimpleInitTokenSpaceGuid.PcdLoggerdUseConsole|FALSE
|
|
|
|
|
|
|
|
[LibraryClasses.common]
|
|
|
|
|
|
|
|
# Ported from SurfaceDuoPkg
|
2022-10-24 17:16:23 +08:00
|
|
|
AslUpdateLib|Silicon/Qualcomm/QcomPkg/Library/DxeAslUpdateLib/DxeAslUpdateLib.inf
|
2022-10-25 20:54:23 +08:00
|
|
|
PlatformMemoryMapLib|Silicon/Qualcomm/sm7325/Library/PlatformMemoryMapLib/PlatformMemoryMapLib.inf
|
2022-10-18 23:07:53 +08:00
|
|
|
PlatformPeiLib|Silicon/Qualcomm/sm7325/Library/PlatformPeiLib/PlatformPeiLib.inf
|
|
|
|
PlatformPrePiLib|Silicon/Qualcomm/sm7325/Library/PlatformPrePiLib/PlatformPrePiLib.inf
|
2022-10-24 17:16:23 +08:00
|
|
|
RFSProtectionLib|Silicon/Qualcomm/sm7325/Library/RFSProtectionLib/RFSProtectionLib.inf
|
2022-10-18 23:07:53 +08:00
|
|
|
MsPlatformDevicesLib|Silicon/Qualcomm/sm7325/Library/MsPlatformDevicesLib/MsPlatformDevicesLib.inf
|
2022-10-22 02:41:43 +08:00
|
|
|
SOCSmbiosInfoLib|Silicon/Qualcomm/sm7325/Library/SOCSmbiosInfoLib/SOCSmbiosInfoLib.inf
|
2022-10-18 23:07:53 +08:00
|
|
|
|
|
|
|
[Components.common]
|