xref: /rk3399_ARM-atf/lib/libc/abort.c (revision 5f8359188008aff6a2a8e936003827ae771ed99f)
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