summaryrefslogtreecommitdiffstats
path: root/plat/arm/board/sgi575/sgi575_err.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/arm/board/sgi575/sgi575_err.c')
-rw-r--r--plat/arm/board/sgi575/sgi575_err.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/plat/arm/board/sgi575/sgi575_err.c b/plat/arm/board/sgi575/sgi575_err.c
new file mode 100644
index 0000000..21bfcb7
--- /dev/null
+++ b/plat/arm/board/sgi575/sgi575_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>
+
+/*
+ * sgi575 error handler
+ */
+void __dead2 plat_arm_error_handler(int err)
+{
+ while (true) {
+ wfi();
+ }
+}