From da7b026f13823997056eef8836151c407a6c0bcc Mon Sep 17 00:00:00 2001 From: Sophon Date: Sun, 12 Sep 2021 12:18:08 +0800 Subject: [PATCH] judyln only has 4GB of RAM Signed-off-by: Sophon --- sdm845Pkg/Devices/judyln.dsc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.45.2