Julian Hall | d635ad7 | 2022-09-20 15:50:35 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2022, Arm Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef TF_A_COMMON_DEBUG_H |
| 8 | #define TF_A_COMMON_DEBUG_H |
| 9 | |
| 10 | /** |
| 11 | * Overrides the tf-a version to avoid a dependency on the tf-a debug environment. |
| 12 | * Some tf-a components rely on debug.h to bring some standard include files. The |
| 13 | * following includes provide the missing include files. |
| 14 | */ |
| 15 | #include <stdint.h> |
| 16 | |
| 17 | /** |
| 18 | * Log operations |
| 19 | */ |
| 20 | #define ERROR(...) |
| 21 | #define ERROR_NL() |
| 22 | |
| 23 | #define NOTICE(...) |
| 24 | #define WARN(...) |
| 25 | |
| 26 | #define INFO(...) |
| 27 | |
| 28 | #define VERBOSE(...) |
| 29 | |
| 30 | #endif /* TF_A_COMMON_DEBUG_H */ |