diff options
Diffstat (limited to 'include/lib/cpus/errata_report.h')
-rw-r--r-- | include/lib/cpus/errata_report.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/lib/cpus/errata_report.h b/include/lib/cpus/errata_report.h new file mode 100644 index 00000000..14f24073 --- /dev/null +++ b/include/lib/cpus/errata_report.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef __ERRATA_H__ +#define __ERRATA_H__ + +#ifndef __ASSEMBLY__ + +#include <arch.h> +#include <arch_helpers.h> +#include <spinlock.h> +#include <utils_def.h> + +#if DEBUG +void print_errata_status(void); +#else +static inline void print_errata_status(void) {} +#endif + +#endif /* __ASSEMBLY__ */ + +/* Errata status */ +#define ERRATA_NOT_APPLIES 0 +#define ERRATA_APPLIES 1 +#define ERRATA_MISSING 2 + +#endif /* __ERRATA_H__ */ + |