blob: feb9fdfaa1cd767b42ad7dca9ffa81014d5c2e97 [file] [log] [blame]
Ambroise Vincentfa42c9e2019-07-04 14:58:45 +01001/*
Jimmy Brisson471550a2020-08-06 10:50:15 -05002 * Copyright (c) 2019-2020, Arm Limited. All rights reserved.
Ambroise Vincentfa42c9e2019-07-04 14:58:45 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <plat/arm/common/plat_arm.h>
8
9/*
10 * a5ds error handler
11 */
12void __dead2 plat_arm_error_handler(int err)
13{
Jimmy Brisson471550a2020-08-06 10:50:15 -050014 while (true) {
Ambroise Vincentfa42c9e2019-07-04 14:58:45 +010015 wfi();
16 }
17}