diff --git a/Platform/Ampere/JadePkg/Drivers/SmbiosMemInfoDxe/SmbiosMemInfoDxe.c b/Platform/Ampere/JadePkg/Drivers/SmbiosMemInfoDxe/SmbiosMemInfoDxe.c index a54a5531008..8516a46efdf 100644 --- a/Platform/Ampere/JadePkg/Drivers/SmbiosMemInfoDxe/SmbiosMemInfoDxe.c +++ b/Platform/Ampere/JadePkg/Drivers/SmbiosMemInfoDxe/SmbiosMemInfoDxe.c @@ -592,7 +592,9 @@ InstallMemStructures ( // Copy Tempplate to Type 19 CopyMem (Table, (VOID *) &mArmDefaultType19, sizeof (ARM_TYPE19)); - if (PlatformHob->DramInfo.Node[MemRegionIndex] != Index) { + if (PlatformHob->DramInfo.NvdRegion[MemRegionIndex] > 0 + || PlatformHob->DramInfo.Socket[MemRegionIndex] != Index) + { continue; }