You've already forked edk2-platforms
mirror of
https://github.com/Dasharo/edk2-platforms.git
synced 2026-03-06 14:51:43 -08:00
Platform/ARM/SgiPkg: Use chip count constant on rdn1edgex2 platform
Use the PcdChipCount constant to define the maximum number of chips included in the multi-chip package. In addition to this, remove the hardcoded value of the chip count in the MADT ACPI table of RD-N1-EdgeX2 platform and replace it with the number of chips specified by 'PcdChipCount'. Signed-off-by: Aditya Angadi <aditya.angadi@arm.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
This commit is contained in:
committed by
Ard Biesheuvel
parent
cd9be0f95c
commit
e8fe2026dd
@@ -17,7 +17,7 @@
|
||||
#define CORE_CNT (FixedPcdGet32 (PcdClusterCount) * \
|
||||
FixedPcdGet32 (PcdCoreCount))
|
||||
|
||||
#define CHIP_CNT 2
|
||||
#define CHIP_CNT (FixedPcdGet32 (PcdChipCount))
|
||||
|
||||
// Multiple APIC Description Table
|
||||
#pragma pack (1)
|
||||
|
||||
@@ -41,6 +41,9 @@
|
||||
gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x300C0000
|
||||
gArmSgiTokenSpaceGuid.PcdGicSize|0x100000
|
||||
|
||||
# Number of chips in the multi-chip package
|
||||
gArmSgiTokenSpaceGuid.PcdChipCount|2
|
||||
|
||||
################################################################################
|
||||
#
|
||||
# Components Section - list of all EDK II Modules needed by this Platform
|
||||
|
||||
Reference in New Issue
Block a user