]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbHelper.S
ArmPlatformPkg/PL35xSmc: Clean SMC driver to replace hardcoded Chip Select into the...
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / Library / ArmRealViewEbLibRTSM / ArmRealViewEbHelper.S
index ca18aa88ddb9706db1ca8a6fd2afd340de41d752..3bbdf6f52d974e3ed718fc860691e8bde3811d65 100644 (file)
 #include <AsmMacroIoLib.h>\r
 #include <Base.h>\r
 #include <Library/PcdLib.h>\r
+#include <Library/ArmPlatformLib.h>\r
 #include <ArmPlatform.h>\r
 #include <AutoGen.h>\r
 \r
-#Start of Code section\r
 .text\r
 .align 3\r
 \r
-GCC_ASM_EXPORT(ArmPlatformIsMemoryInitialized)\r
 GCC_ASM_EXPORT(ArmPlatformInitializeBootMemory)\r
 \r
 /**\r
@@ -45,18 +44,4 @@ ASM_PFX(ArmPlatformIsMemoryInitialized):
   tst   r0, #0x200\r
   bx   lr\r
     \r
-/**\r
-  Initialize the memory where the initial stacks will reside\r
-\r
-  This memory can contain the initial stacks (Secure and Secure Monitor stacks).\r
-  In some platform, this region is already initialized and the implementation of this function can\r
-  do nothing. This memory can also represent the Secure RAM.\r
-  This function is called before the satck has been set up. Its implementation must ensure the stack\r
-  pointer is not used (probably required to use assembly language)\r
-\r
-**/\r
-ASM_PFX(ArmPlatformInitializeBootMemory):\r
-  // The SMC does not need to be initialized for RTSM\r
-  bx    lr\r
-\r
 ASM_FUNCTION_REMOVE_IF_UNREFERENCED
\ No newline at end of file