blob: 9ed7e9299df259eb40cb28f07090de1af93f90b6 [file] [log] [blame]
Usama Arifbec5afd2020-04-17 16:13:39 +01001/*
2 * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <plat/arm/common/plat_arm.h>
8
9/*
Usama Ariff1513622021-04-09 17:07:41 +010010 * tc error handler
Usama Arifbec5afd2020-04-17 16:13:39 +010011 */
12void __dead2 plat_arm_error_handler(int err)
13{
Jimmy Brisson471550a2020-08-06 10:50:15 -050014 while (true) {
Usama Arifbec5afd2020-04-17 16:13:39 +010015 wfi();
16 }
17}