judyln only has 4GB of RAM
authorSophon <strongtz@yeah.net>
星期天, 12 Sep 2021 04:18:08 +0000 (12:18 +0800)
committerSophon <strongtz@yeah.net>
星期天, 12 Sep 2021 04:18:08 +0000 (12:18 +0800)
Signed-off-by: Sophon <strongtz@yeah.net>
sdm845Pkg/Devices/judyln.dsc

index 8c29575b51d41ee7041823575cebba79d61fd688..c4279518566ed206dd18a7311fdc711a8c849145 100644 (file)
 
 !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