summaryrefslogtreecommitdiffstats
path: root/plat/arm/board/a5ds/a5ds_err.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/arm/board/a5ds/a5ds_err.c')
-rw-r--r--plat/arm/board/a5ds/a5ds_err.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/plat/arm/board/a5ds/a5ds_err.c b/plat/arm/board/a5ds/a5ds_err.c
new file mode 100644
index 0000000..feb9fdf
--- /dev/null
+++ b/plat/arm/board/a5ds/a5ds_err.c
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2019-2020, Arm Limited. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <plat/arm/common/plat_arm.h>
+
+/*
+ * a5ds error handler
+ */
+void __dead2 plat_arm_error_handler(int err)
+{
+ while (true) {
+ wfi();
+ }
+}