xref: /rk3399_ARM-atf/plat/arm/board/a5ds/a5ds_err.c (revision 37b70031e027c76fdebe3c2d2edb2da173bcf150)
1*37b70031SAmbroise Vincent /*
2*37b70031SAmbroise Vincent  * Copyright (c) 2019, Arm Limited. All rights reserved.
3*37b70031SAmbroise Vincent  *
4*37b70031SAmbroise Vincent  * SPDX-License-Identifier: BSD-3-Clause
5*37b70031SAmbroise Vincent  */
6*37b70031SAmbroise Vincent 
7*37b70031SAmbroise Vincent #include <plat/arm/common/plat_arm.h>
8*37b70031SAmbroise Vincent 
9*37b70031SAmbroise Vincent /*
10*37b70031SAmbroise Vincent  * a5ds error handler
11*37b70031SAmbroise Vincent  */
12*37b70031SAmbroise Vincent void __dead2 plat_arm_error_handler(int err)
13*37b70031SAmbroise Vincent {
14*37b70031SAmbroise Vincent 	while (1) {
15*37b70031SAmbroise Vincent 		wfi();
16*37b70031SAmbroise Vincent 	}
17*37b70031SAmbroise Vincent }
18