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