blob: 65ce4ccaf2c6de26c72a6b78841e2503b884ca64 [file] [log] [blame]
Harry Liebel0f702c62013-12-17 18:19:04 +00001/*
Roberto Vargas05712702018-02-12 12:36:17 +00002 * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
Harry Liebel0f702c62013-12-17 18:19:04 +00003 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Harry Liebel0f702c62013-12-17 18:19:04 +00005 */
6
Dan Handley91b624e2014-07-29 17:14:00 +01007#include <debug.h>
Roberto Vargas05712702018-02-12 12:36:17 +00008#include <stdlib.h>
Harry Liebel0f702c62013-12-17 18:19:04 +00009
10/*
11 * This is a basic implementation. This could be improved.
12 */
13void abort (void)
14{
Dan Handley91b624e2014-07-29 17:14:00 +010015 ERROR("ABORT\n");
16 panic();
Harry Liebel0f702c62013-12-17 18:19:04 +000017}