1*fe2b37f6Ssah01 /* 2*fe2b37f6Ssah01 * Copyright (c) 2022, Arm Limited. All rights reserved. 3*fe2b37f6Ssah01 * 4*fe2b37f6Ssah01 * SPDX-License-Identifier: BSD-3-Clause 5*fe2b37f6Ssah01 */ 6*fe2b37f6Ssah01 7*fe2b37f6Ssah01 #include <plat/arm/common/plat_arm.h> 8*fe2b37f6Ssah01 9*fe2b37f6Ssah01 /* 10*fe2b37f6Ssah01 * n1sdp error handler 11*fe2b37f6Ssah01 */ plat_arm_error_handler(int err)12*fe2b37f6Ssah01void __dead2 plat_arm_error_handler(int err) 13*fe2b37f6Ssah01 { 14*fe2b37f6Ssah01 while (true) { 15*fe2b37f6Ssah01 wfi(); 16*fe2b37f6Ssah01 } 17*fe2b37f6Ssah01 } 18