gArmPlatformTokenSpaceGuid.PcdNorFlashRemapping|FALSE|BOOLEAN|0x00000012\r
\r
gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE|BOOLEAN|0x00000001\r
- gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|FALSE|BOOLEAN|0x00000002\r
gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|FALSE|BOOLEAN|0x00000004\r
\r
gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked|FALSE|BOOLEAN|0x0000003C\r
return RETURN_SUCCESS;\r
}\r
\r
-/**\r
- Initialize the system (or sometimes called permanent) memory\r
-\r
- This memory is generally represented by the DRAM.\r
-\r
-**/\r
-VOID\r
-ArmPlatformInitializeSystemMemory (\r
- VOID\r
- )\r
-{\r
-}\r
-\r
EFI_STATUS\r
PrePeiCoreGetMpCoreInfo (\r
OUT UINTN *CoreCount,\r
return RETURN_SUCCESS;\r
}\r
\r
-/**\r
- Initialize the system (or sometimes called permanent) memory\r
-\r
- This memory is generally represented by the DRAM.\r
-\r
-**/\r
-VOID\r
-ArmPlatformInitializeSystemMemory (\r
- VOID\r
- )\r
-{\r
- // Nothing to do here\r
-}\r
-\r
EFI_STATUS\r
PrePeiCoreGetMpCoreInfo (\r
OUT UINTN *CoreCount,\r
IN UINTN MpId\r
);\r
\r
-/**\r
- Initialize the system (or sometimes called permanent) memory\r
-\r
- This memory is generally represented by the DRAM.\r
-\r
-**/\r
-VOID\r
-ArmPlatformInitializeSystemMemory (\r
- VOID\r
- );\r
-\r
/**\r
Return the Virtual Memory Map of your platform\r
\r
return RETURN_SUCCESS;\r
}\r
\r
-/**\r
- Initialize the system (or sometimes called permanent) memory\r
-\r
- This memory is generally represented by the DRAM.\r
-\r
-**/\r
-VOID\r
-ArmPlatformInitializeSystemMemory (\r
- VOID\r
- )\r
-{\r
- //TODO: Implement me\r
-}\r
-\r
EFI_STATUS\r
PrePeiCoreGetMpCoreInfo (\r
OUT UINTN *CoreCount,\r
\r
DEBUG ((EFI_D_LOAD | EFI_D_INFO, "Memory Init PEIM Loaded\n"));\r
\r
- //\r
- // Initialize the System Memory (DRAM)\r
- //\r
- if (!FeaturePcdGet (PcdSystemMemoryInitializeInSec)) {\r
- // In case the DRAM has not been initialized by the secure firmware\r
- ArmPlatformInitializeSystemMemory ();\r
- }\r
-\r
// Ensure PcdSystemMemorySize has been set\r
ASSERT (PcdGet64 (PcdSystemMemorySize) != 0);\r
ASSERT (PcdGet64 (PcdSystemMemoryBase) < (UINT64)MAX_ADDRESS);\r
\r
[FeaturePcd]\r
gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob\r
- gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec\r
\r
[FixedPcd]\r
gArmTokenSpaceGuid.PcdFdBaseAddress\r
return RETURN_SUCCESS;\r
}\r
\r
-/**\r
- Initialize the system (or sometimes called permanent) memory\r
-\r
- This memory is generally represented by the DRAM.\r
-\r
-**/\r
-VOID\r
-ArmPlatformInitializeSystemMemory (\r
- VOID\r
- )\r
-{\r
- // We do not need to initialize the System Memory on RTSM\r
-}\r
-\r
VOID\r
ArmPlatformGetPlatformPpiList (\r
OUT UINTN *PpiListSize,\r