ArmPlatformPkg: remove ArmPlatformInitializeSystemMemory
The function ArmPlatformInitializeSystemMemory() is defined by ArmPlatformLib, but is only ever called when using the PrePeiCore flavor of the startup code. Also, none of the remaining upstream platforms actually implement anything in that function in the first place. So let's just remove it altogether. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
@@ -103,14 +103,6 @@ InitializeMemory (
|
||||
|
||||
DEBUG ((EFI_D_LOAD | EFI_D_INFO, "Memory Init PEIM Loaded\n"));
|
||||
|
||||
//
|
||||
// Initialize the System Memory (DRAM)
|
||||
//
|
||||
if (!FeaturePcdGet (PcdSystemMemoryInitializeInSec)) {
|
||||
// In case the DRAM has not been initialized by the secure firmware
|
||||
ArmPlatformInitializeSystemMemory ();
|
||||
}
|
||||
|
||||
// Ensure PcdSystemMemorySize has been set
|
||||
ASSERT (PcdGet64 (PcdSystemMemorySize) != 0);
|
||||
ASSERT (PcdGet64 (PcdSystemMemoryBase) < (UINT64)MAX_ADDRESS);
|
||||
|
Reference in New Issue
Block a user