summaryrefslogtreecommitdiff
path: root/plat/common/aarch64/platform_helpers.S
diff options
context:
space:
mode:
Diffstat (limited to 'plat/common/aarch64/platform_helpers.S')
-rw-r--r--plat/common/aarch64/platform_helpers.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/plat/common/aarch64/platform_helpers.S b/plat/common/aarch64/platform_helpers.S
index f51d24e6..56b88bc0 100644
--- a/plat/common/aarch64/platform_helpers.S
+++ b/plat/common/aarch64/platform_helpers.S
@@ -38,6 +38,7 @@
.weak plat_reset_handler
.weak plat_disable_acp
.weak bl1_plat_prepare_exit
+ .weak plat_error_handler
#if !ENABLE_PLAT_COMPAT
.globl platform_get_core_pos
@@ -121,3 +122,12 @@ endfunc plat_disable_acp
func bl1_plat_prepare_exit
ret
endfunc bl1_plat_prepare_exit
+
+ /* -----------------------------------------------------
+ * void plat_error_handler(int err) __dead2;
+ * Endless loop by default.
+ * -----------------------------------------------------
+ */
+func plat_error_handler
+ b plat_error_handler
+endfunc plat_error_handler