diff options
Diffstat (limited to 'plat/fvp/aarch64/fvp_helpers.S')
-rw-r--r-- | plat/fvp/aarch64/fvp_helpers.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plat/fvp/aarch64/fvp_helpers.S b/plat/fvp/aarch64/fvp_helpers.S index e678b43..c661ff3 100644 --- a/plat/fvp/aarch64/fvp_helpers.S +++ b/plat/fvp/aarch64/fvp_helpers.S @@ -97,6 +97,7 @@ func plat_secondary_cold_boot_setup wfi cb_panic: b cb_panic +endfunc plat_secondary_cold_boot_setup /* ----------------------------------------------------- @@ -148,6 +149,7 @@ warm_reset: exit: ret x9 _panic: b _panic +endfunc platform_get_entrypoint /* ----------------------------------------------------- @@ -170,6 +172,7 @@ loop: subs w1, w1, #1 b.gt loop ret +endfunc platform_mem_init /* --------------------------------------------- * void plat_report_exception(unsigned int type) @@ -191,12 +194,14 @@ func plat_report_exception add x1, x1, #V2M_SYS_LED str w0, [x1] ret +endfunc plat_report_exception func platform_is_primary_cpu and x0, x0, #(MPIDR_CLUSTER_MASK | MPIDR_CPU_MASK) cmp x0, #FVP_PRIMARY_CPU cset x0, eq ret +endfunc platform_is_primary_cpu /* Define a crash console for the plaform */ #define FVP_CRASH_CONSOLE_BASE PL011_UART1_BASE @@ -213,6 +218,7 @@ func plat_crash_console_init mov_imm x1, PL011_UART1_CLK_IN_HZ mov_imm x2, PL011_BAUDRATE b console_core_init +endfunc plat_crash_console_init /* --------------------------------------------- * int plat_crash_console_putc(int c) @@ -224,3 +230,4 @@ func plat_crash_console_init func plat_crash_console_putc mov_imm x1, FVP_CRASH_CONSOLE_BASE b console_core_putc +endfunc plat_crash_console_putc |