From: Sophon Date: 星期天, 12 Sep 2021 04:18:08 +0000 (+0800) Subject: judyln only has 4GB of RAM X-Git-Tag: v1.0.4~19 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=da7b026f13823997056eef8836151c407a6c0bcc;p=edk2-sdm845.git judyln only has 4GB of RAM Signed-off-by: Sophon --- diff --git a/sdm845Pkg/Devices/judyln.dsc b/sdm845Pkg/Devices/judyln.dsc index 8c29575..c427951 100644 --- a/sdm845Pkg/Devices/judyln.dsc +++ b/sdm845Pkg/Devices/judyln.dsc @@ -11,9 +11,12 @@ !include sdm845Pkg/sdm845Pkg.dsc +[BuildOptions.common] + GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_4G=1 + [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x140000000 + # System Memory (3GB) + gArmTokenSpaceGuid.PcdSystemMemorySize|0xC0000000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1440 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|3120