You've already forked edk2-platforms
mirror of
https://github.com/Dasharo/edk2-platforms.git
synced 2026-03-06 14:51:43 -08:00
This makes all 8GB usable on the Pi 4 8GB variant. Like RAM in the 3-4GB range, this is still gated by the option to limit RAM to 3GB. Tested on 4GB and 8GB boards, with and without 3GB limit. Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com> Reviewed-by: Pete Batard <pete@akeo.ie>
68 lines
2.0 KiB
INI
68 lines
2.0 KiB
INI
#/** @file
|
|
#
|
|
# Copyright (c) 2017-2018, Andrei Warkentin <andrey.warkentin@gmail.com>
|
|
# Copyright (c) 2014-2016, Linaro Limited. All rights reserved.
|
|
# Copyright (c) 2011-2019, ARM Limited. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
#**/
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x0001001A
|
|
BASE_NAME = PlatformLib
|
|
FILE_GUID = 050182ef-f708-4148-b4bc-256cabf74fea
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = ArmPlatformLib|SEC PEIM
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
EmbeddedPkg/EmbeddedPkg.dec
|
|
ArmPkg/ArmPkg.dec
|
|
ArmPlatformPkg/ArmPlatformPkg.dec
|
|
Silicon/Broadcom/Bcm27xx/Bcm27xx.dec
|
|
Silicon/Broadcom/Bcm283x/Bcm283x.dec
|
|
Platform/RaspberryPi/RaspberryPi.dec
|
|
|
|
[LibraryClasses]
|
|
ArmLib
|
|
FdtLib
|
|
IoLib
|
|
MemoryAllocationLib
|
|
PcdLib
|
|
PrintLib
|
|
|
|
[Sources.common]
|
|
RaspberryPi.c
|
|
RaspberryPiMem.c
|
|
|
|
[Sources.AARCH64]
|
|
AArch64/RaspberryPiHelper.S
|
|
|
|
[FixedPcd]
|
|
gArmTokenSpaceGuid.PcdFdBaseAddress
|
|
gArmTokenSpaceGuid.PcdFvBaseAddress
|
|
gRaspberryPiTokenSpaceGuid.PcdFdtBaseAddress
|
|
gRaspberryPiTokenSpaceGuid.PcdFdtSize
|
|
gArmPlatformTokenSpaceGuid.PcdCoreCount
|
|
gArmTokenSpaceGuid.PcdArmPrimaryCoreMask
|
|
gArmTokenSpaceGuid.PcdArmPrimaryCore
|
|
gArmTokenSpaceGuid.PcdFdSize
|
|
gBcm27xxTokenSpaceGuid.PcdBcm27xxRegistersAddress
|
|
gBcm283xTokenSpaceGuid.PcdBcm283xRegistersAddress
|
|
gEmbeddedTokenSpaceGuid.PcdDmaDeviceOffset
|
|
gArmTokenSpaceGuid.PcdSystemMemoryBase
|
|
gArmTokenSpaceGuid.PcdSystemMemorySize
|
|
gRaspberryPiTokenSpaceGuid.PcdNvStorageEventLogSize
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
|
|
|
|
[Pcd]
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate # RPi3 only
|
|
|
|
[Ppis]
|
|
gArmMpCoreInfoPpiGuid
|