xref: /rk3399_ARM-atf/lib/libc/abort.c (revision 30a8d96e4689be30b2caeb23fd071fadd1ec87cd)
1 /*
2  * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <debug.h>
8 #include <stdlib.h>
9 
10 /*
11  * This is a basic implementation. This could be improved.
12  */
13 void abort (void)
14 {
15 	ERROR("ABORT\n");
16 	panic();
17 }
18