]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/CTA9x4Boot.asm
ArmPlatformPkg/ArmPlatformLib: Introduce ArmPlatformSecBootAction function
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / Library / ArmVExpressLibCTA9x4 / CTA9x4Boot.asm
index 5a08307e13e9b7b2db628ba81c82d68cc2c605ce..0350608a2f07576306e912605a1930f279a7f9f4 100755 (executable)
@@ -20,6 +20,7 @@
 \r
   INCLUDE AsmMacroIoLib.inc\r
 \r
+  EXPORT  ArmPlatformSecBootAction\r
   EXPORT  ArmPlatformInitializeBootMemory\r
   IMPORT  PL35xSmcInitialize\r
 \r
@@ -61,6 +62,18 @@ VersatileExpressSmcConfiguration
     DCD     PL350_SMC_SET_OPMODE_MEM_WIDTH_32 :OR: PL350_SMC_SET_OPMODE_SET_RD_SYNC :OR: PL350_SMC_SET_OPMODE_SET_WR_SYNC\r
 VersatileExpressSmcConfigurationEnd\r
 \r
+/**\r
+  Call at the beginning of the platform boot up\r
+\r
+  This function allows the firmware platform to do extra actions at the early\r
+  stage of the platform power up.\r
+\r
+  Note: This function must be implemented in assembler as there is no stack set up yet\r
+\r
+**/\r
+ArmPlatformSecBootAction\r
+  bx  lr\r
+\r
 /**\r
   Initialize the memory where the initial stacks will reside\r
 \r