From f98013a0d4be721a9b52c71097fd1beb7f766145 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Thu, 10 Feb 2022 02:08:32 +0800 Subject: [PATCH] sdm845Pkg: Devices: remove PcdSystemMemorySize --- .github/workflows/main.yml | 4 ---- .github/workflows/release.yml | 4 ---- build.sh | 4 ---- sdm845Pkg/Devices/akershus.dsc | 2 -- sdm845Pkg/Devices/beryllium.dsc | 2 -- sdm845Pkg/Devices/dipper-old.dsc | 2 -- sdm845Pkg/Devices/dipper.dsc | 2 -- sdm845Pkg/Devices/draco.dsc | 2 -- sdm845Pkg/Devices/enchilada-8g.dsc | 30 ------------------------------ sdm845Pkg/Devices/enchilada.dsc | 2 -- sdm845Pkg/Devices/equuleus.dsc | 2 -- sdm845Pkg/Devices/fajita-10g.dsc | 29 ----------------------------- sdm845Pkg/Devices/fajita-8g.dsc | 29 ----------------------------- sdm845Pkg/Devices/fajita.dsc | 2 -- sdm845Pkg/Devices/generic.dsc | 2 -- sdm845Pkg/Devices/judyln.dsc | 5 ----- sdm845Pkg/Devices/m1882.dsc | 2 -- sdm845Pkg/Devices/m1892.dsc | 2 -- sdm845Pkg/Devices/nx616j.dsc | 2 -- sdm845Pkg/Devices/odin-base.dsc | 4 +--- sdm845Pkg/Devices/olympic.dsc | 2 -- sdm845Pkg/Devices/pafm00.dsc | 2 -- sdm845Pkg/Devices/pd1821.dsc | 2 -- sdm845Pkg/Devices/perseus.dsc | 2 -- sdm845Pkg/Devices/polaris-8g.dsc | 26 -------------------------- sdm845Pkg/Devices/polaris.dsc | 2 -- sdm845Pkg/Devices/skr-a0.dsc | 2 -- sdm845Pkg/Devices/star2qltechn.dsc | 2 -- sdm845Pkg/Devices/trident.dsc | 2 -- sdm845Pkg/sdm845Pkg.dsc | 1 + 30 files changed, 2 insertions(+), 174 deletions(-) delete mode 100644 sdm845Pkg/Devices/enchilada-8g.dsc delete mode 100644 sdm845Pkg/Devices/fajita-10g.dsc delete mode 100644 sdm845Pkg/Devices/fajita-8g.dsc delete mode 100644 sdm845Pkg/Devices/polaris-8g.dsc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b200fb2..1997a0d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,12 +24,8 @@ jobs: device: - dipper - enchilada - - enchilada-8g - fajita - - fajita-8g - - fajita-10g - polaris - - polaris-8g - beryllium - perseus - nx616j diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 434afbd..ce1ba3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,8 @@ jobs: - dipper - draco - enchilada - - enchilada-8g - equuleus - fajita - - fajita-8g - - fajita-10g - judyln - m1882 - m1892 @@ -33,7 +30,6 @@ jobs: - pd1821 - perseus - polaris - - polaris-8g - skr-a0 - star2qltechn - trident diff --git a/build.sh b/build.sh index 1d71de7..e9fa610 100755 --- a/build.sh +++ b/build.sh @@ -4,12 +4,8 @@ DEVICES=( dipper enchilada - enchilada-8g fajita - fajita-8g - fajita-10g polaris - polaris-8g beryllium perseus nx616j diff --git a/sdm845Pkg/Devices/akershus.dsc b/sdm845Pkg/Devices/akershus.dsc index ff65f94..1632f31 100644 --- a/sdm845Pkg/Devices/akershus.dsc +++ b/sdm845Pkg/Devices/akershus.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2248 diff --git a/sdm845Pkg/Devices/beryllium.dsc b/sdm845Pkg/Devices/beryllium.dsc index 3404908..61ad42c 100644 --- a/sdm845Pkg/Devices/beryllium.dsc +++ b/sdm845Pkg/Devices/beryllium.dsc @@ -15,8 +15,6 @@ GCC:*_*_AARCH64_CC_FLAGS = -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 #gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferAddress|0x9D469780 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 diff --git a/sdm845Pkg/Devices/dipper-old.dsc b/sdm845Pkg/Devices/dipper-old.dsc index 21cc282..13fb2ff 100644 --- a/sdm845Pkg/Devices/dipper-old.dsc +++ b/sdm845Pkg/Devices/dipper-old.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x140000000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2160 diff --git a/sdm845Pkg/Devices/dipper.dsc b/sdm845Pkg/Devices/dipper.dsc index fba3dc4..dfb4f00 100644 --- a/sdm845Pkg/Devices/dipper.dsc +++ b/sdm845Pkg/Devices/dipper.dsc @@ -15,8 +15,6 @@ GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DDISPLAY_DPI=410 -DENABLE_SIMPLE_INIT [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2248 diff --git a/sdm845Pkg/Devices/draco.dsc b/sdm845Pkg/Devices/draco.dsc index 841f0d9..7d52b26 100644 --- a/sdm845Pkg/Devices/draco.dsc +++ b/sdm845Pkg/Devices/draco.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2246 diff --git a/sdm845Pkg/Devices/enchilada-8g.dsc b/sdm845Pkg/Devices/enchilada-8g.dsc deleted file mode 100644 index 0e7bfdc..0000000 --- a/sdm845Pkg/Devices/enchilada-8g.dsc +++ /dev/null @@ -1,30 +0,0 @@ - -[Defines] - PLATFORM_NAME = sdm845Pkg - PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee - PLATFORM_VERSION = 0.1 - DSC_SPECIFICATION = 0x00010019 - OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) - SUPPORTED_ARCHITECTURES = AARCH64 - BUILD_TARGETS = DEBUG|RELEASE - SKUID_IDENTIFIER = DEFAULT - FLASH_DEFINITION = sdm845Pkg/Devices/enchilada.fdf - - # Enable A/B Slot Environment - DEFINE AB_SLOTS_SUPPORT = TRUE - -!include sdm845Pkg/sdm845Pkg.dsc - -[BuildOptions.common] - GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_8G=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DAB_SLOTS_SUPPORT=1 -DENABLE_LINUX_SIMPLE_MASS_STORAGE - -[PcdsFixedAtBuild.common] - # System Memory (7GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x1E0000000 - - gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 - gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2280 - - gsdm845PkgTokenSpaceGuid.PcdDeviceVendor|"Oneplus" - gsdm845PkgTokenSpaceGuid.PcdDeviceProduct|"6" - gsdm845PkgTokenSpaceGuid.PcdDeviceCodeName|"enchilada" diff --git a/sdm845Pkg/Devices/enchilada.dsc b/sdm845Pkg/Devices/enchilada.dsc index f875461..4793db1 100644 --- a/sdm845Pkg/Devices/enchilada.dsc +++ b/sdm845Pkg/Devices/enchilada.dsc @@ -18,8 +18,6 @@ GCC:*_*_AARCH64_CC_FLAGS = -DAB_SLOTS_SUPPORT=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2280 diff --git a/sdm845Pkg/Devices/equuleus.dsc b/sdm845Pkg/Devices/equuleus.dsc index 6b0bf0b..e390926 100644 --- a/sdm845Pkg/Devices/equuleus.dsc +++ b/sdm845Pkg/Devices/equuleus.dsc @@ -15,8 +15,6 @@ GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2248 diff --git a/sdm845Pkg/Devices/fajita-10g.dsc b/sdm845Pkg/Devices/fajita-10g.dsc deleted file mode 100644 index 83d38c0..0000000 --- a/sdm845Pkg/Devices/fajita-10g.dsc +++ /dev/null @@ -1,29 +0,0 @@ -[Defines] - PLATFORM_NAME = sdm845Pkg - PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee - PLATFORM_VERSION = 0.1 - DSC_SPECIFICATION = 0x00010019 - OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) - SUPPORTED_ARCHITECTURES = AARCH64 - BUILD_TARGETS = DEBUG|RELEASE - SKUID_IDENTIFIER = DEFAULT - FLASH_DEFINITION = sdm845Pkg/Devices/fajita.fdf - - # Enable A/B Slot Environment - DEFINE AB_SLOTS_SUPPORT = TRUE - -!include sdm845Pkg/sdm845Pkg.dsc - -[BuildOptions.common] - GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_10G=1 -DAB_SLOTS_SUPPORT=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE - -[PcdsFixedAtBuild.common] - # System Memory (10GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x260000000 - - gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 - gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2340 - - gsdm845PkgTokenSpaceGuid.PcdDeviceVendor|"Oneplus" - gsdm845PkgTokenSpaceGuid.PcdDeviceProduct|"6T" - gsdm845PkgTokenSpaceGuid.PcdDeviceCodeName|"fajita" diff --git a/sdm845Pkg/Devices/fajita-8g.dsc b/sdm845Pkg/Devices/fajita-8g.dsc deleted file mode 100644 index 0b57737..0000000 --- a/sdm845Pkg/Devices/fajita-8g.dsc +++ /dev/null @@ -1,29 +0,0 @@ -[Defines] - PLATFORM_NAME = sdm845Pkg - PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee - PLATFORM_VERSION = 0.1 - DSC_SPECIFICATION = 0x00010019 - OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) - SUPPORTED_ARCHITECTURES = AARCH64 - BUILD_TARGETS = DEBUG|RELEASE - SKUID_IDENTIFIER = DEFAULT - FLASH_DEFINITION = sdm845Pkg/Devices/fajita.fdf - - # Enable A/B Slot Environment - DEFINE AB_SLOTS_SUPPORT = TRUE - -!include sdm845Pkg/sdm845Pkg.dsc - -[BuildOptions.common] - GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_8G=1 -DAB_SLOTS_SUPPORT=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE - -[PcdsFixedAtBuild.common] - # System Memory (7GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x1E0000000 - - gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 - gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2340 - - gsdm845PkgTokenSpaceGuid.PcdDeviceVendor|"Oneplus" - gsdm845PkgTokenSpaceGuid.PcdDeviceProduct|"6T" - gsdm845PkgTokenSpaceGuid.PcdDeviceCodeName|"fajita" diff --git a/sdm845Pkg/Devices/fajita.dsc b/sdm845Pkg/Devices/fajita.dsc index ad8a206..8174f19 100644 --- a/sdm845Pkg/Devices/fajita.dsc +++ b/sdm845Pkg/Devices/fajita.dsc @@ -18,8 +18,6 @@ GCC:*_*_AARCH64_CC_FLAGS = -DAB_SLOTS_SUPPORT=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2340 diff --git a/sdm845Pkg/Devices/generic.dsc b/sdm845Pkg/Devices/generic.dsc index 5e7615d..5d34463 100644 --- a/sdm845Pkg/Devices/generic.dsc +++ b/sdm845Pkg/Devices/generic.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|1920 diff --git a/sdm845Pkg/Devices/judyln.dsc b/sdm845Pkg/Devices/judyln.dsc index 4b6a122..5eb45d0 100644 --- a/sdm845Pkg/Devices/judyln.dsc +++ b/sdm845Pkg/Devices/judyln.dsc @@ -11,12 +11,7 @@ !include sdm845Pkg/sdm845Pkg.dsc -[BuildOptions.common] - GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_4G=1 - [PcdsFixedAtBuild.common] - # System Memory (3GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0xC0000000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1440 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|3120 diff --git a/sdm845Pkg/Devices/m1882.dsc b/sdm845Pkg/Devices/m1882.dsc index ab62724..a00105f 100644 --- a/sdm845Pkg/Devices/m1882.dsc +++ b/sdm845Pkg/Devices/m1882.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2160 diff --git a/sdm845Pkg/Devices/m1892.dsc b/sdm845Pkg/Devices/m1892.dsc index 1ee2011..58fa525 100644 --- a/sdm845Pkg/Devices/m1892.dsc +++ b/sdm845Pkg/Devices/m1892.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2160 diff --git a/sdm845Pkg/Devices/nx616j.dsc b/sdm845Pkg/Devices/nx616j.dsc index 65a0f83..6e47210 100644 --- a/sdm845Pkg/Devices/nx616j.dsc +++ b/sdm845Pkg/Devices/nx616j.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2280 diff --git a/sdm845Pkg/Devices/odin-base.dsc b/sdm845Pkg/Devices/odin-base.dsc index f98a4f2..682cb14 100644 --- a/sdm845Pkg/Devices/odin-base.dsc +++ b/sdm845Pkg/Devices/odin-base.dsc @@ -12,11 +12,9 @@ !include sdm845Pkg/sdm845Pkg.dsc [BuildOptions.common] - GCC:*_*_AARCH64_CC_FLAGS = -DAB_SLOTS_SUPPORT=1 -DMEMORY_4G=1 -DDISPLAY_DPI=369 -DENABLE_SIMPLE_INIT + GCC:*_*_AARCH64_CC_FLAGS = -DAB_SLOTS_SUPPORT=1 -DDISPLAY_DPI=369 -DENABLE_SIMPLE_INIT [PcdsFixedAtBuild.common] - # System Memory (3GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0xC0000000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|1920 diff --git a/sdm845Pkg/Devices/olympic.dsc b/sdm845Pkg/Devices/olympic.dsc index a7e57bc..7882cc4 100644 --- a/sdm845Pkg/Devices/olympic.dsc +++ b/sdm845Pkg/Devices/olympic.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1440 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2880 diff --git a/sdm845Pkg/Devices/pafm00.dsc b/sdm845Pkg/Devices/pafm00.dsc index 3cfb7d8..401c414 100644 --- a/sdm845Pkg/Devices/pafm00.dsc +++ b/sdm845Pkg/Devices/pafm00.dsc @@ -15,8 +15,6 @@ GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_8G=1 [PcdsFixedAtBuild.common] - # System Memory (7GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x1E0000000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2340 diff --git a/sdm845Pkg/Devices/pd1821.dsc b/sdm845Pkg/Devices/pd1821.dsc index e8e697b..1ad4f7c 100644 --- a/sdm845Pkg/Devices/pd1821.dsc +++ b/sdm845Pkg/Devices/pd1821.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x140000000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2340 diff --git a/sdm845Pkg/Devices/perseus.dsc b/sdm845Pkg/Devices/perseus.dsc index ea3758d..7f84d73 100644 --- a/sdm845Pkg/Devices/perseus.dsc +++ b/sdm845Pkg/Devices/perseus.dsc @@ -15,8 +15,6 @@ GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DDISPLAY_DPI=403 -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2340 diff --git a/sdm845Pkg/Devices/polaris-8g.dsc b/sdm845Pkg/Devices/polaris-8g.dsc deleted file mode 100644 index 8ab6cab..0000000 --- a/sdm845Pkg/Devices/polaris-8g.dsc +++ /dev/null @@ -1,26 +0,0 @@ -[Defines] - PLATFORM_NAME = sdm845Pkg - PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee - PLATFORM_VERSION = 0.1 - DSC_SPECIFICATION = 0x00010019 - OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) - SUPPORTED_ARCHITECTURES = AARCH64 - BUILD_TARGETS = DEBUG|RELEASE - SKUID_IDENTIFIER = DEFAULT - FLASH_DEFINITION = sdm845Pkg/Devices/polaris.fdf - -!include sdm845Pkg/sdm845Pkg.dsc - -[BuildOptions.common] - GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DMEMORY_8G=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE - -[PcdsFixedAtBuild.common] - # System Memory (7GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x1E0000000 - - gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 - gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2160 - - gsdm845PkgTokenSpaceGuid.PcdDeviceVendor|"Xiaomi" - gsdm845PkgTokenSpaceGuid.PcdDeviceProduct|"MIX2S" - gsdm845PkgTokenSpaceGuid.PcdDeviceCodeName|"polaris" diff --git a/sdm845Pkg/Devices/polaris.dsc b/sdm845Pkg/Devices/polaris.dsc index 5ac4c71..25255d6 100644 --- a/sdm845Pkg/Devices/polaris.dsc +++ b/sdm845Pkg/Devices/polaris.dsc @@ -15,8 +15,6 @@ GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2160 diff --git a/sdm845Pkg/Devices/skr-a0.dsc b/sdm845Pkg/Devices/skr-a0.dsc index 9292b5a..f154b2e 100644 --- a/sdm845Pkg/Devices/skr-a0.dsc +++ b/sdm845Pkg/Devices/skr-a0.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2160 diff --git a/sdm845Pkg/Devices/star2qltechn.dsc b/sdm845Pkg/Devices/star2qltechn.dsc index 5a18730..414f671 100644 --- a/sdm845Pkg/Devices/star2qltechn.dsc +++ b/sdm845Pkg/Devices/star2qltechn.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x140000000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1440 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2960 diff --git a/sdm845Pkg/Devices/trident.dsc b/sdm845Pkg/Devices/trident.dsc index e80c9b0..f5aecc1 100644 --- a/sdm845Pkg/Devices/trident.dsc +++ b/sdm845Pkg/Devices/trident.dsc @@ -12,8 +12,6 @@ !include sdm845Pkg/sdm845Pkg.dsc [PcdsFixedAtBuild.common] - # System Memory (5GB) - gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2242 diff --git a/sdm845Pkg/sdm845Pkg.dsc b/sdm845Pkg/sdm845Pkg.dsc index 2150c15..6d77c60 100644 --- a/sdm845Pkg/sdm845Pkg.dsc +++ b/sdm845Pkg/sdm845Pkg.dsc @@ -114,6 +114,7 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)" gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000 + gArmTokenSpaceGuid.PcdSystemMemorySize|0xC0000000 # We bring up eight cores here! gArmPlatformTokenSpaceGuid.PcdCoreCount|8