Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 1 | /* |
| 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 Arif | f151362 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 10 | * tc error handler |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 11 | */ |
| 12 | void __dead2 plat_arm_error_handler(int err) |
| 13 | { |
Jimmy Brisson | 471550a | 2020-08-06 10:50:15 -0500 | [diff] [blame] | 14 | while (true) { |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 15 | wfi(); |
| 16 | } |
| 17 | } |