Jeenu Viswambharan | d5ec367 | 2017-01-03 11:01:51 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
Jeenu Viswambharan | d5ec367 | 2017-01-03 11:01:51 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __ERRATA_H__ |
| 8 | #define __ERRATA_H__ |
| 9 | |
| 10 | #ifndef __ASSEMBLY__ |
| 11 | |
| 12 | #include <arch.h> |
| 13 | #include <arch_helpers.h> |
| 14 | #include <spinlock.h> |
Scott Branden | bf404c0 | 2017-04-10 11:45:52 -0700 | [diff] [blame] | 15 | #include <utils_def.h> |
Jeenu Viswambharan | d5ec367 | 2017-01-03 11:01:51 +0000 | [diff] [blame] | 16 | |
| 17 | #if DEBUG |
| 18 | void print_errata_status(void); |
| 19 | #else |
| 20 | static inline void print_errata_status(void) {} |
| 21 | #endif |
| 22 | |
| 23 | #endif /* __ASSEMBLY__ */ |
| 24 | |
| 25 | /* Errata status */ |
| 26 | #define ERRATA_NOT_APPLIES 0 |
| 27 | #define ERRATA_APPLIES 1 |
| 28 | #define ERRATA_MISSING 2 |
| 29 | |
| 30 | #endif /* __ERRATA_H__ */ |
| 31 | |