]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Sec/SecEntryPoint.S
ArmPlatformPkg/ArmPlatformLib: Removed 'ArmPlatformIsMemoryInitialized' function
[mirror_edk2.git] / ArmPlatformPkg / Sec / SecEntryPoint.S
index f8599393cbc1249fe5e58dde40f5554f35d2171c..5d83bf1ee791abfb050239715e247ab7591137bc 100644 (file)
@@ -31,7 +31,6 @@ GCC_ASM_EXPORT(_ModuleEntryPoint)
 #global functions referenced by this module\r
 GCC_ASM_IMPORT(CEntryPoint)\r
 GCC_ASM_IMPORT(ArmPlatformSecBootAction)\r
-GCC_ASM_IMPORT(ArmPlatformIsMemoryInitialized)\r
 GCC_ASM_IMPORT(ArmPlatformInitializeBootMemory)\r
 GCC_ASM_IMPORT(ArmDisableInterrupts)\r
 GCC_ASM_IMPORT(ArmDisableCachesAndMmu)\r
@@ -83,10 +82,7 @@ _WaitForEnabledScu:
 #endif\r
   \r
 _InitMem:\r
-  bl    ASM_PFX(ArmPlatformIsMemoryInitialized)\r
-  bne   _SetupStack\r
-  \r
-  # Initialize Init Memory\r
+  // Initialize Init Boot Memory\r
   bl    ASM_PFX(ArmPlatformInitializeBootMemory)\r
 \r
   # Only Primary CPU could run this line (the secondary cores have jumped from _IdentifyCpu to _SetupStack)\r