Hi,
We would recommend customer to check the setting according to attached patch file.
And please also refer below config for a stable 8GB RAM as reference:
mu_platform_nxp/NXP/MX8QXP_MEK/Drivers/SmbiosPlatformDxe/SmbiosPlatformDxe.c
// Memory device
STATIC CONST ARM_TYPE17 mArmDefaultType17 = {
{
{ // SMBIOS_STRUCTURE Hdr
EFI_SMBIOS_TYPE_MEMORY_DEVICE, // UINT8 Type
sizeof (SMBIOS_TABLE_TYPE17), // UINT8 Length
SMBIOS_HANDLE_DRAM,
},
SMBIOS_HANDLE_MEMORY, //array to which this module belongs
0xFFFE, //no errors
0xFFFF, // unknown total width
0xFFFF, // unknown data width
0x2000, // 8GB
Below is the test result:

Wish it helps.
Mike