From: Pierre Gondois <pierre.gond...@arm.com> Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object.
This patch modifies the ConfigurationManager of the following platforms: - N1Sdp for the following Arch Common object Id: - EArmObjMemoryAffinityInfo Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> --- .../ConfigurationManager.c | 20 +++++++++---------- .../ConfigurationManager.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c index d90d81bffa9f..20aa3bcec217 100644 --- a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c @@ -1803,6 +1803,16 @@ GetArchCommonNameSpaceObject ( ); break; + case EArchCommonObjMemoryAffinityInfo: + Status = HandleCmObject ( + CmObjectId, + PlatformRepo->MemAffInfo, + sizeof (PlatformRepo->MemAffInfo), + ARRAY_SIZE (PlatformRepo->MemAffInfo), + CmObject + ); + break; + default: { Status = EFI_NOT_FOUND; DEBUG (( @@ -2037,16 +2047,6 @@ GetArmNameSpaceObject ( ); break; - case EArmObjMemoryAffinityInfo: - Status = HandleCmObject ( - CmObjectId, - PlatformRepo->MemAffInfo, - sizeof (PlatformRepo->MemAffInfo), - ARRAY_SIZE (PlatformRepo->MemAffInfo), - CmObject - ); - break; - default: { Status = EFI_NOT_FOUND; DEBUG (( diff --git a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h index 8a8e6e6c99a1..6713e9211fb3 100644 --- a/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h +++ b/Platform/ARM/N1Sdp/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h @@ -300,7 +300,7 @@ typedef struct PlatformRepositoryInfo { CM_ARCH_COMMON_PCI_CONFIG_SPACE_INFO PciConfigInfo[Root_pcie_max]; /// Memory Affinity Info - CM_ARM_MEMORY_AFFINITY_INFO MemAffInfo[DDR_REGION_COUNT]; + CM_ARCH_COMMON_MEMORY_AFFINITY_INFO MemAffInfo[DDR_REGION_COUNT]; /// N1Sdp Platform Info NEOVERSEN1SOC_PLAT_INFO *PlatInfo; -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119530): https://edk2.groups.io/g/devel/message/119530 Mute This Topic: https://groups.io/mt/106589348/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-